|
@@ -4,12 +4,12 @@
|
|
"description": "",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"scripts": {
|
|
- "dev": "NODE_ENV=development supervisor --harmony index.js",
|
|
|
|
- "online": "NODE_ENV=online supervisor --harmony index.js",
|
|
|
|
|
|
+ "dev": "cross-env NODE_ENV=development supervisor --harmony index.js",
|
|
|
|
+ "online": "cross-env NODE_ENV=online supervisor --harmony index.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
- "start": "NODE_ENV=production pm2 start index.js --node-args='--harmony' --name 'node-elm'",
|
|
|
|
- "stop": "NODE_ENV=production pm2 stop index.js --name 'node-elm'",
|
|
|
|
- "restart": "NODE_ENV=production pm2 restart index.js --node-args='--harmony' --name 'node-elm'"
|
|
|
|
|
|
+ "start": "cross-env NODE_ENV=production pm2 start index.js --node-args='--harmony' --name 'node-elm'",
|
|
|
|
+ "stop": "cross-env NODE_ENV=production pm2 stop index.js --name 'node-elm'",
|
|
|
|
+ "restart": "cross-env NODE_ENV=production pm2 restart index.js --node-args='--harmony' --name 'node-elm'"
|
|
},
|
|
},
|
|
"repository": {
|
|
"repository": {
|
|
"type": "git",
|
|
"type": "git",
|
|
@@ -30,6 +30,7 @@
|
|
"connect-flash": "^0.1.1",
|
|
"connect-flash": "^0.1.1",
|
|
"connect-mongo": "^1.3.2",
|
|
"connect-mongo": "^1.3.2",
|
|
"cookie-parser": "^1.4.3",
|
|
"cookie-parser": "^1.4.3",
|
|
|
|
+ "cross-env": "^5.0.0",
|
|
"express": "^4.15.2",
|
|
"express": "^4.15.2",
|
|
"express-session": "^1.15.2",
|
|
"express-session": "^1.15.2",
|
|
"express-winston": "^2.3.0",
|
|
"express-winston": "^2.3.0",
|