From 7839dea5b5836c3914508a41f170165379a106aa Mon Sep 17 00:00:00 2001 From: Thomas Rzipa Date: Mon, 14 Mar 2016 14:29:28 +0100 Subject: [PATCH] passing environment variable with cross-env to fix 'npm run dev' on windows platform --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc149f3..55124b5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "clean": "rimraf dist", "build:webpack": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js", "build": "npm run clean && npm run build:webpack", - "dev": "NODE_ENV=development npm start", + "dev": "cross-env NODE_ENV=development npm start", "start": "node devServer.js", "lint": "eslint src" },