diff options
| author | Johann-S <[email protected]> | 2017-09-17 08:59:08 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-09-17 09:12:01 +0200 |
| commit | 2dcce4ec30c1bdd981ec210553fa496716cff604 (patch) | |
| tree | 9218be04654b4f5d34ae0bc7db329a49ec15db10 /package.json | |
| parent | 7e3ff772d0d1c5a407a44d8925518654e3f3d6d2 (diff) | |
| download | bootstrap-2dcce4ec30c1bdd981ec210553fa496716cff604.tar.xz bootstrap-2dcce4ec30c1bdd981ec210553fa496716cff604.zip | |
Use cross-env to allow folks to build our js on their OS
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json index e8990e958..a22761353 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,9 @@ "js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js", "js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/ sw.js", "js-compile": "npm-run-all --parallel js-compile-*", - "js-compile-standalone": "ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js", - "js-compile-bundle": "ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js", - "js-compile-plugins": "PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps", + "js-compile-standalone": "cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js", + "js-compile-bundle": "cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js", + "js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps", "js-minify": "npm-run-all --parallel js-minify-standalone js-minify-bundle", "js-minify-standalone": "uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js", "js-minify-bundle": "uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js", @@ -82,6 +82,7 @@ "babel-plugin-transform-es2015-modules-strip": "^0.1.1", "babel-preset-env": "2.0.0-beta.0", "clean-css-cli": "^4.1.6", + "cross-env": "^5.0.5", "eslint": "^4.2.0", "grunt": "^1.0.1", "grunt-cli": "^1.2.0", |
