Skip to content

Commit 7141e22

Browse files
committed
use cross-env
1 parent 2cf78bd commit 7141e22

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"private": true,
66
"scripts": {
77
"dev": "node server",
8-
"start": "NODE_ENV=production node server",
8+
"start": "cross-env NODE_ENV=production node server",
99
"build": "npm run build:client && npm run build:server",
10-
"build:client": "NODE_ENV=production webpack --config build/webpack.client.config.js --progress --hide-modules",
11-
"build:server": "NODE_ENV=production webpack --config build/webpack.server.config.js --progress --hide-modules"
10+
"build:client": "cross-env NODE_ENV=production webpack --config build/webpack.client.config.js --progress --hide-modules",
11+
"build:server": "cross-env NODE_ENV=production webpack --config build/webpack.server.config.js --progress --hide-modules"
1212
},
1313
"dependencies": {
1414
"es6-promise": "^3.2.1",
@@ -29,6 +29,7 @@
2929
"babel-loader": "^6.0.0",
3030
"babel-preset-es2015": "^6.13.2",
3131
"babel-preset-stage-2": "^6.11.0",
32+
"cross-env": "^2.0.0",
3233
"css-loader": "^0.23.1",
3334
"extract-text-webpack-plugin": "^2.0.0-beta.3",
3435
"file-loader": "^0.8.4",

0 commit comments

Comments
 (0)