Merge pull request #253 from bevingtongroup/fix-windows-node-env

fix NODE_ENV=... on windows
This commit is contained in:
Jakub
2017-11-14 17:11:27 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@
"e2e": "node test/e2e/runner.js", "e2e": "node test/e2e/runner.js",
"test": "npm run unit", "test": "npm run unit",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs", "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
"release": "webpack --progress --hide-modules --config ./build/webpack.release.js && NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.min.js", "release": "webpack --progress --hide-modules --config ./build/webpack.release.js && cross-env NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.min.js",
"prepublishOnly": "yarn run lint && yarn run test && yarn run build" "prepublishOnly": "yarn run lint && yarn run test && yarn run build"
}, },
"dependencies": { "dependencies": {
@@ -72,7 +72,7 @@
"chart.js": "2.7.0", "chart.js": "2.7.0",
"chromedriver": "^2.28.0", "chromedriver": "^2.28.0",
"connect-history-api-fallback": "^1.1.0", "connect-history-api-fallback": "^1.1.0",
"cross-env": "^3.2.4", "cross-env": "^5.1.1",
"cross-spawn": "^5.1.0", "cross-spawn": "^5.1.0",
"css-loader": "^0.28.0", "css-loader": "^0.28.0",
"eslint": "^3.19.0", "eslint": "^3.19.0",

View File

@@ -1646,9 +1646,9 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
safe-buffer "^5.0.1" safe-buffer "^5.0.1"
sha.js "^2.4.8" sha.js "^2.4.8"
cross-env@^3.2.4: cross-env@^5.1.1:
version "3.2.4" version "5.1.1"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a980ff0d698aba" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.1.tgz#b6d8ab97f304c0f71dae7277b75fe424c08dfa74"
dependencies: dependencies:
cross-spawn "^5.1.0" cross-spawn "^5.1.0"
is-windows "^1.0.0" is-windows "^1.0.0"