Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2017-09-17 09:59:08 +0300
committerJohann-S <johann.servoire@gmail.com>2017-09-17 10:12:01 +0300
commit2dcce4ec30c1bdd981ec210553fa496716cff604 (patch)
tree9218be04654b4f5d34ae0bc7db329a49ec15db10 /package.json
parent7e3ff772d0d1c5a407a44d8925518654e3f3d6d2 (diff)
Use cross-env to allow folks to build our js on their OS
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json
index e8990e958b..a22761353d 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",