diff options
author | Henry Zhu <hi@henryzoo.com> | 2017-09-17 09:40:48 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2017-09-17 09:40:48 +0300 |
commit | f17b165f0fa2ff7b9537cfc368796aa92ae91139 (patch) | |
tree | c680c0c9ff60b14831840a2ee31ec5ce27fa125c /package.json | |
parent | 5cec8e0de6d6d9fa525e82f309ada18fdb3e3753 (diff) |
Babel 7 (#23966)
* use .babelrc.js, compile bundled/non-bundled with loose mode
* add back helper, exclude typeof transform
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package.json b/package.json index c01e87b4d6..e8990e958b 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 --environment BUNDLE:false --config build/rollup.config.js", - "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js", - "js-compile-plugins": "babel --no-babelrc js/src/ --out-dir js/dist/ --source-maps --presets=es2015 --plugins=transform-es2015-modules-strip", + "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-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", @@ -76,11 +76,11 @@ }, "devDependencies": { "autoprefixer": "^7.1.2", - "babel-cli": "^6.24.1", + "babel-cli": "7.0.0-beta.0", "babel-eslint": "^8.0.0", - "babel-plugin-external-helpers": "^6.22.0", + "babel-plugin-external-helpers": "7.0.0-beta.0", "babel-plugin-transform-es2015-modules-strip": "^0.1.1", - "babel-preset-es2015": "^6.24.1", + "babel-preset-env": "2.0.0-beta.0", "clean-css-cli": "^4.1.6", "eslint": "^4.2.0", "grunt": "^1.0.1", @@ -95,7 +95,7 @@ "postcss-cli": "^4.1.0", "qunit-phantomjs-runner": "^2.3.0", "qunitjs": "^2.4.0", - "rollup": "^0.49.2", + "rollup": "^0.50.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-node-resolve": "^3.0.0", "shelljs": "^0.7.8", |