From ab525a0958235d4004cb3cfb2fa43bdd1bf3d59b Mon Sep 17 00:00:00 2001 From: Christian D Date: Mon, 10 Apr 2017 23:08:24 +0200 Subject: [PATCH] Update package.json added cross-env (Windows fix) Added cross-env to fix npm start error on Windows as described here https://github.com/mxstbr/login-flow/issues/11. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d7567dc..62461e7 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "babel-eslint": "^4.1.2", "babel-loader": "^5.3.2", "babel-plugin-react-transform": "^1.0.5", + "cross-env": "^4.0.0", "css-loader": "^0.23.0", "cssnano": "^3.0.1", "eslint": "^1.4.1", @@ -45,7 +46,7 @@ "url": "git://github.com/mxstbr/react-boilerplate.git" }, "scripts": { - "start": "NODE_ENV=development node server.js", + "start": "cross-env NODE_ENV=development node server.js", "build": "NODE_ENV=production webpack --config webpack.prod.config.js --progress --colors -p" }, "author": "Max Stoiber",