Skip to content

Commit

Permalink
fix env variable on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay committed Feb 10, 2017
1 parent f1669fb commit c7e52ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test": "mocha --compilers js:babel-core/register --colors --bail --reporter spec test/ --recursive",
"test-coverage": "istanbul cover -x \"build/**\" -x \"es6/**\" node_modules/mocha/bin/_mocha -- --compilers js:babel-core/register --colors --reporter dot test/ --recursive",
"test-travis": "istanbul cover -x \"build/**\" -x \"es6/**\" node_modules/mocha/bin/_mocha --report lcovonly -- --compilers js:babel-core/register --colors --reporter spec test/ --recursive",
"browser-build": "npm run build-es6-modules && WEBPACK_ENV=build webpack",
"browser-build": "better-npm-run browser-build",
"browser-build-dev": "npm run build-es6-modules && WEBPACK_ENV=dev webpack --progress --colors --watch",
"clean-for-build": "rimraf ./build/**/* ./es6/**/*",
"build-commonjs-modules": "better-npm-run build-commonjs-modules",
Expand All @@ -46,6 +46,12 @@
"prepublish": "npm-run-all build test browser-build"
},
"betterScripts": {
"browser-build": {
"command": "npm run build-es6-modules",
"env": {
"WEBPACK_ENV": "build"
}
},
"build-commonjs-modules": {
"command": "babel ./source --out-dir ./build --source-maps",
"env": {
Expand Down

0 comments on commit c7e52ec

Please sign in to comment.