Skip to content
This repository was archived by the owner on Dec 15, 2017. It is now read-only.

Commit 282ad20

Browse files
committed
package: add cross-dev
1 parent 37ae8d4 commit 282ad20

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
@@ -5,7 +5,7 @@
55
"scripts": {
66
"postinstall": "cp env.example.js env.js",
77
"start": "webpack-dev-server --config webpack/dev.config.js --watch",
8-
"build": "NODE_ENV=production webpack --config webpack/prod.config.js --progress --display-error-details --color",
8+
"build": "cross-env NODE_ENV=production webpack --config webpack/prod.config.js --progress --display-error-details --color",
99
"precommit": "eslint src"
1010
},
1111
"repository": {
@@ -42,6 +42,7 @@
4242
"babel-preset-env": "^1.6.0",
4343
"clean-webpack-plugin": "^0.1.16",
4444
"copy-webpack-plugin": "^4.0.1",
45+
"cross-env": "^5.0.1",
4546
"css-loader": "^0.28.4",
4647
"eslint": "^4.2.0",
4748
"eslint-loader": "^1.9.0",

0 commit comments

Comments
 (0)