make build platform independed by using cross-env
Showing
... | @@ -30,6 +30,7 @@ | ... | @@ -30,6 +30,7 @@ |
"coffeeify": "^1.0.0", | "coffeeify": "^1.0.0", | ||
"commander": "^2.9.0", | "commander": "^2.9.0", | ||
"core-js": "^1.2.5", | "core-js": "^1.2.5", | ||
"cross-env": "^5.1.4", | |||
"custom-event": "^1.0.1", | "custom-event": "^1.0.1", | ||
"diff": "^2.2.2", | "diff": "^2.2.2", | ||
"diff-match-patch": "^1.0.0", | "diff-match-patch": "^1.0.0", | ||
... | @@ -137,7 +138,7 @@ | ... | @@ -137,7 +138,7 @@ |
}, | }, | ||
"main": "./build/boot.js", | "main": "./build/boot.js", | ||
"scripts": { | "scripts": { | ||
"build": "NODE_ENV=production gulp build", | "build": "cross-env NODE_ENV=production gulp build", | ||
"deps": "check-dependencies", | "deps": "check-dependencies", | ||
"lint": "eslint .", | "lint": "eslint .", | ||
"test": "gulp test", | "test": "gulp test", | ||
... | ... |
Please register or sign in to comment