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