mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 06:40:40 +00:00
Update to babel beta 5
This commit is contained in:
parent
fc9967e175
commit
83fd91cdf8
@ -1,16 +1,15 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
[
|
||||
'env',
|
||||
'@babel/env',
|
||||
{
|
||||
loose: true,
|
||||
modules: false,
|
||||
exclude: ['transform-es2015-typeof-symbol']
|
||||
exclude: ['transform-typeof-symbol']
|
||||
}
|
||||
]
|
||||
],
|
||||
plugins: [
|
||||
process.env.ROLLUP && 'external-helpers',
|
||||
process.env.PLUGINS && 'transform-es2015-modules-strip'
|
||||
].filter(Boolean)
|
||||
};
|
||||
|
1764
package-lock.json
generated
1764
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@ -35,8 +35,8 @@
|
||||
"js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/",
|
||||
"js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js",
|
||||
"js-compile": "npm-run-all --parallel js-compile-*",
|
||||
"js-compile-standalone": "cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
|
||||
"js-compile-bundle": "cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
|
||||
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
|
||||
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
|
||||
"js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps",
|
||||
"js-minify": "npm-run-all --parallel js-minify-*",
|
||||
"js-minify-standalone": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
|
||||
@ -80,12 +80,12 @@
|
||||
"popper.js": "^1.12.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.0.0-beta.31",
|
||||
"@babel/core": "7.0.0-beta.31",
|
||||
"@babel/preset-env": "7.0.0-beta.31",
|
||||
"autoprefixer": "^7.1.2",
|
||||
"babel-cli": "7.0.0-beta.2",
|
||||
"babel-eslint": "^8.0.0",
|
||||
"babel-plugin-external-helpers": "7.0.0-beta.2",
|
||||
"babel-eslint": "^8.0.2",
|
||||
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
|
||||
"babel-preset-env": "2.0.0-beta.2",
|
||||
"bundlesize": "^0.15.2",
|
||||
"clean-css-cli": "^4.1.6",
|
||||
"cross-env": "^5.0.5",
|
||||
@ -102,7 +102,7 @@
|
||||
"qunit-phantomjs-runner": "^2.3.0",
|
||||
"qunitjs": "^2.4.0",
|
||||
"rollup": "^0.50.0",
|
||||
"rollup-plugin-babel": "^3.0.2",
|
||||
"rollup-plugin-babel": "4.0.0-beta.0",
|
||||
"rollup-plugin-node-resolve": "^3.0.0",
|
||||
"shelljs": "^0.7.8",
|
||||
"shx": "^0.2.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user