diff options
| author | XhmikosR <[email protected]> | 2017-09-26 17:46:16 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-26 17:46:16 +0300 |
| commit | c090c79a709a84cb6e2bd5dbed6343ae49c861a1 (patch) | |
| tree | cadb5d1e7a94588047081bb8d8c4f92914aaf043 /package.json | |
| parent | 8e56145e45e9d58e23c5f339b6cac50e751e36a7 (diff) | |
| parent | 3eae92f1fec3c84acf38bd7e16a14eac48868334 (diff) | |
| download | bootstrap-c090c79a709a84cb6e2bd5dbed6343ae49c861a1.tar.xz bootstrap-c090c79a709a84cb6e2bd5dbed6343ae49c861a1.zip | |
Merge branch 'v4-dev' into btn-active
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/package.json b/package.json index 0abe31545..9bd1c6f39 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": "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", @@ -45,9 +45,11 @@ "docs": "npm-run-all docs-compile docs-lint", "docs-lint": "htmllint --rc build/.htmllintrc _gh_pages/*.html _gh_pages/**/*.html js/tests/visual/*.html", "docs-compile": "bundle exec jekyll build", + "postdocs-compile": "npm run docs-workbox-precache", "docs-serve": "bundle exec jekyll serve", "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml", "docs-upload-preview": "build/upload-preview.sh", + "docs-workbox-precache": "node build/workbox.js", "maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo 'Manually update assets/js/vendor/*, js/tests/vendor/* and .travis.yml'", "release-version": "node build/change-version.js", "release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..", @@ -75,13 +77,15 @@ }, "devDependencies": { "autoprefixer": "^7.1.2", - "babel-cli": "^6.24.1", - "babel-eslint": "^7.2.3", - "babel-plugin-external-helpers": "^6.22.0", + "babel-cli": "^7.0.0-beta.0", + "babel-eslint": "^8.0.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", + "cross-env": "^5.0.5", "eslint": "^4.2.0", + "eslint-plugin-compat": "^1.0.4", "grunt": "^1.0.1", "grunt-cli": "^1.2.0", "grunt-saucelabs": "^9.0.0", @@ -94,12 +98,13 @@ "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", "shx": "^0.2.2", - "uglify-js": "^3.0.24" + "uglify-js": "^3.0.24", + "workbox-build": "^2.0.1" }, "engines": { "node": ">=4" @@ -117,6 +122,16 @@ "scss/**/*.scss", "LICENSE" ], + "browserslist": [ + "Chrome >= 45", + "Firefox ESR", + "Edge >= 12", + "Explorer >= 10", + "iOS >= 9", + "Safari >= 9", + "Android >= 4.4", + "Opera >= 30" + ], "jspm": { "registry": "npm", "main": "js/bootstrap", |
