You need to sign in or sign up before continuing.
Commit bba3aff8 authored by jcunanan05's avatar jcunanan05

Add Dev and prod scripts

add npm-run-all for cross platfrom capability
parent a6c56f4d
This diff is collapsed.
......@@ -7,13 +7,17 @@
"url": "https://github.com/jcunanan05"
},
"license": "MIT",
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"morgan": "~1.9.1"
"morgan": "~1.9.1",
"npm-run-all": "^4.1.5"
},
"scripts": {
"start": "npm-run-all prod",
"server": "node ./bin/www",
"dev": "NODE_ENV=development npm-run-all server",
"prod": "NODE_ENV=production npm-run-all server"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment