Skip to content

Commit c2a9c30

Browse files
committed
add cross-env
1 parent c689e63 commit c2a9c30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"private": false,
1818
"scripts": {
1919
"start": "if-env NODE_ENV=production && npm run prod || npm run dev",
20-
"dev": "NODE_ENV=development supervisor -w server,app.js ./bin/www",
20+
"dev": "cross-env NODE_ENV=development supervisor -w server,app.js ./bin/www",
2121
"prod": "pm2 startOrRestart ./config/pm2.js --env production",
2222
"stop": "pm2 stop ./bin/www",
2323
"reload": "pm2 reload ./bin/www",
@@ -61,6 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"browser-sync": "^2.18.8",
64+
"cross-env": "^3.2.3",
6465
"eslint": "^3.17.1",
6566
"eslint-config-standard": "^7.0.1",
6667
"eslint-plugin-promise": "^3.5.0",

0 commit comments

Comments
 (0)