From a360ae42973fa8d300beac01b91c1ce0766d1262 Mon Sep 17 00:00:00 2001 From: lucky code dog Date: Fri, 4 Dec 2015 11:08:11 +0800 Subject: [PATCH] use cross-env for windows compatibility --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a92b9d6..3cdaf4f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "dev": "webpack-dev-server --inline --hot --quiet", - "build": "NODE_ENV=production webpack --progress --hide-modules" + "build": "cross-env NODE_ENV=production webpack --progress --hide-modules" }, "repository": { "type": "git", @@ -23,6 +23,7 @@ "babel-plugin-transform-runtime": "^6.1.18", "babel-preset-es2015": "^6.1.18", "babel-runtime": "^6.1.18", + "cross-env": "^1.0.5", "css-loader": "^0.21.0", "style-loader": "^0.13.0", "stylus-loader": "^1.4.0",