From a67a951496ca9ecdc5c262a18007dcb972d35cba Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 15 Nov 2017 11:27:54 +0800 Subject: [PATCH] Fix NO_PROXY in windows, ref #181 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0f88f739..7c72eb9c 100755 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "precommit": "npm run lint-staged", "start": "roadhog server", - "start:no-proxy": "NO_PROXY=true roadhog server", + "start:no-proxy": "cross-env NO_PROXY=true roadhog server", "build": "roadhog build", "site": "roadhog-api-doc static && gh-pages -d dist", "analyze": "roadhog build --analyze", @@ -50,6 +50,7 @@ "babel-plugin-transform-runtime": "^6.9.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", + "cross-env": "^5.1.1", "cross-port-killer": "^1.0.1", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.2", -- GitLab