0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/package.json

227 lines
11 KiB
JSON
Raw Normal View History

{
2013-12-15 19:56:51 +01:00
"name": "bootstrap",
2014-03-03 23:18:03 +01:00
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
2019-02-13 17:01:40 +01:00
"version": "4.3.1",
"version_short": "4.3",
2013-12-17 13:39:36 +01:00
"keywords": [
"css",
"sass",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
2013-12-17 13:39:36 +01:00
],
"homepage": "https://getbootstrap.com/",
"author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
"contributors": [
"Twitter, Inc."
],
2013-12-17 13:39:36 +01:00
"scripts": {
2018-07-12 07:29:23 +02:00
"start": "npm-run-all --parallel watch docs-serve",
"linkinator": "linkinator _gh_pages --recurse --skip \"^(?!http://localhost)\"",
2017-09-27 15:20:46 +02:00
"bundlesize": "bundlesize",
2018-10-21 11:32:07 +02:00
"css": "npm-run-all css-compile css-prefix css-minify css-copy",
"css-copy": "cross-env-shell shx mkdir -p site/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/css/ site/docs/$npm_package_version_short/dist/",
2018-10-21 11:32:07 +02:00
"css-main": "npm-run-all css-lint css-compile-main css-prefix-main css-minify-main css-copy",
"css-docs": "npm-run-all css-compile-docs css-prefix-docs css-minify-docs",
"css-compile": "npm-run-all --parallel css-compile-*",
"css-compile-main": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css && npm run css-copy",
"css-compile-docs": "cross-env-shell node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 site/docs/$npm_package_version_short/assets/scss/docs.scss site/docs/$npm_package_version_short/assets/css/docs.min.css",
2018-10-21 11:32:07 +02:00
"css-lint": "npm-run-all --parallel css-lint-*",
2019-01-06 10:07:10 +01:00
"css-lint-main": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
"css-lint-docs": "stylelint \"site/docs/**/assets/scss/*.scss\" \"site/docs/**/*.css\" --cache --cache-location .cache/.stylelintcache",
"css-lint-vars": "fusv scss/ site/docs/",
2018-10-21 11:32:07 +02:00
"css-minify": "npm-run-all --parallel css-minify-*",
"css-minify-main": "cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
"css-minify-docs": "cross-env-shell cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output site/docs/$npm_package_version_short/assets/css/docs.min.css site/docs/$npm_package_version_short/assets/css/docs.min.css",
2018-10-21 11:32:07 +02:00
"css-prefix": "npm-run-all --parallel css-prefix-*",
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
"css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/docs/**/*.css\" \"site/docs/**/*.css\"",
"js": "npm-run-all js-compile js-minify js-copy",
"js-copy": "cross-env-shell shx mkdir -p site/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/js/ site/docs/$npm_package_version_short/dist/",
2019-01-15 16:30:21 +01:00
"js-main": "npm-run-all js-lint js-compile js-minify-main",
2017-04-19 13:59:12 +02:00
"js-docs": "npm-run-all js-lint-docs js-minify-docs",
"js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy",
2017-11-05 19:03:33 +01:00
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
2019-03-01 17:40:39 +01:00
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
2017-11-05 19:03:33 +01:00
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-compile-plugins": "node build/build-plugins.js",
"js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js",
"js-lint": "npm-run-all --continue-on-error --parallel js-lint-*",
2019-01-06 09:58:43 +01:00
"js-lint-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/",
"js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/",
2018-10-21 11:32:07 +02:00
"js-minify": "npm-run-all --parallel js-minify-main js-minify-docs",
2019-03-01 17:40:39 +01:00
"js-minify-main": "npm-run-all js-minify-standalone* js-minify-bundle",
"js-minify-standalone": "terser --compress --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",
2019-03-01 10:11:41 +01:00
"js-minify-standalone-esm": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js",
"js-minify-bundle": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
"js-minify-docs": "cross-env-shell terser --mangle --comments \\\"/^!/\\\" --output site/docs/$npm_package_version_short/assets/js/docs.min.js site/docs/$npm_package_version_short/assets/js/vendor/anchor.min.js site/docs/$npm_package_version_short/assets/js/vendor/clipboard.min.js site/docs/$npm_package_version_short/assets/js/vendor/bs-custom-file-input.min.js \"site/docs/$npm_package_version_short/assets/js/src/*.js\"",
"js-test": "npm-run-all js-test-karma* js-test-integration",
"js-debug": "cross-env DEBUG=true karma start js/tests/karma.conf.js",
2017-11-17 17:38:34 +01:00
"js-test-karma": "karma start js/tests/karma.conf.js",
2018-09-13 09:42:15 +02:00
"js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma",
"js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js",
2018-09-13 09:42:15 +02:00
"js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
"lint": "npm-run-all --parallel js-lint css-lint",
2018-03-23 15:26:09 +01:00
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
2018-10-21 11:32:07 +02:00
"docs": "npm-run-all css-docs js-docs docs-compile docs-lint",
"docs-compile": "bundle exec jekyll build",
"docs-production": "cross-env JEKYLL_ENV=production npm run docs-compile",
"docs-lint": "node build/vnu-jar.js",
"docs-serve": "bundle exec jekyll serve",
"docs-serve-only": "npm run docs-serve -- --skip-initial-build --no-watch",
"update-deps": "ncu -a -x jquery -x bundlesize && npm update && bundle update && cross-env-shell echo Manually update \\\"site/docs/$npm_package_version_short/assets/js/vendor/\\\"",
"release": "npm-run-all dist release-sri release-zip docs-production",
"release-sri": "node build/generate-sri.js",
2017-04-19 13:59:12 +02:00
"release-version": "node build/change-version.js",
"release-zip": "cross-env-shell \"shx rm -rf bootstrap-$npm_package_version-dist && shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
2018-08-02 10:30:03 +02:00
"dist": "npm-run-all --parallel css js",
"test": "npm-run-all lint dist js-test docs-compile docs-lint bundlesize",
2018-07-12 07:29:23 +02:00
"watch": "npm-run-all --parallel watch-*",
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
"watch-css-docs": "nodemon --watch \"site/docs/**/assets/scss/\" --ext scss --exec \"npm run css-docs\"",
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm run js-compile\"",
"watch-js-docs": "nodemon --watch \"site/docs/**/assets/js/src/\" --ext js --exec \"npm run js-docs\""
2013-12-17 13:39:36 +01:00
},
2014-03-07 23:07:38 +01:00
"style": "dist/css/bootstrap.css",
"sass": "scss/bootstrap.scss",
2019-03-01 10:11:41 +01:00
"main": "dist/js/bootstrap.js",
"module": "dist/js/bootstrap.esm.js",
2013-12-15 19:56:51 +01:00
"repository": {
2013-12-20 20:09:51 +01:00
"type": "git",
"url": "git+https://github.com/twbs/bootstrap.git"
2013-12-15 19:56:51 +01:00
},
"bugs": {
2013-12-20 20:09:51 +01:00
"url": "https://github.com/twbs/bootstrap/issues"
2013-12-15 19:56:51 +01:00
},
"license": "MIT",
2017-08-10 04:41:05 +02:00
"dependencies": {},
"peerDependencies": {
2019-02-08 08:39:03 +01:00
"popper.js": "^1.14.7"
},
2013-12-15 19:56:51 +01:00
"devDependencies": {
2019-01-04 10:54:16 +01:00
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"autoprefixer": "^9.4.9",
2018-10-06 10:49:39 +02:00
"babel-eslint": "^10.0.1",
2019-02-18 09:50:09 +01:00
"babel-plugin-istanbul": "^5.1.1",
2019-01-04 10:54:16 +01:00
"bundlesize": "0.15.3",
"clean-css-cli": "^4.2.1",
"coveralls": "^3.0.3",
"cross-env": "^5.2.0",
"eslint": "^5.14.1",
"eslint-config-xo": "^0.26.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-unicorn": "^7.1.0",
"find-unused-sass-variables": "^0.3.2",
2018-08-28 14:13:26 +02:00
"glob": "^7.1.3",
"hammer-simulator": "0.0.1",
"ip": "^1.1.5",
"jquery": "^3.3.1",
2019-03-01 17:12:54 +01:00
"karma": "^4.0.1",
"karma-browserstack-launcher": "^1.4.0",
"karma-chrome-launcher": "^2.2.0",
2019-02-18 09:50:09 +01:00
"karma-coverage-istanbul-reporter": "^2.0.5",
2018-10-06 10:49:39 +02:00
"karma-detect-browsers": "^2.3.3",
"karma-firefox-launcher": "^1.1.0",
2019-03-01 17:12:54 +01:00
"karma-qunit": "^3.0.0",
2018-03-09 23:17:57 +01:00
"karma-sinon": "^1.0.5",
"linkinator": "^1.1.6",
2018-12-10 09:34:30 +01:00
"node-sass": "^4.11.0",
2019-02-15 14:38:24 +01:00
"nodemon": "^1.18.10",
2018-11-24 17:14:31 +01:00
"npm-run-all": "^4.1.5",
2019-02-08 08:39:03 +01:00
"popper.js": "^1.14.7",
"postcss-cli": "^6.1.2",
"qunit": "^2.9.2",
2019-03-01 17:12:54 +01:00
"rollup": "^1.4.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^4.0.1",
2018-11-16 07:50:04 +01:00
"shelljs": "^0.8.3",
2018-07-28 20:47:14 +02:00
"shx": "^0.3.2",
"sinon": "^7.2.5",
"stylelint": "^9.10.1",
"stylelint-config-twbs-bootstrap": "^0.3.0",
"terser": "^3.16.1",
2018-11-16 07:50:04 +01:00
"vnu-jar": "18.11.5"
2013-12-15 19:56:51 +01:00
},
"engines": {
"node": ">=8"
},
"files": [
"dist/{css,js}/*.{css,js,map}",
"js/{src,dist}/**/*.{js,map}",
"scss/**/*.scss"
],
2017-09-27 15:20:46 +02:00
"bundlesize": [
{
"path": "./dist/css/bootstrap-grid.css",
2018-08-12 23:39:45 +02:00
"maxSize": "7 kB"
},
{
"path": "./dist/css/bootstrap-grid.min.css",
"maxSize": "6 kB"
},
{
"path": "./dist/css/bootstrap-reboot.css",
2019-01-10 08:03:16 +01:00
"maxSize": "2 kB"
},
{
"path": "./dist/css/bootstrap-reboot.min.css",
2019-01-10 08:03:16 +01:00
"maxSize": "2 kB"
},
{
"path": "./dist/css/bootstrap.css",
2019-01-10 08:03:16 +01:00
"maxSize": "25 kB"
2017-09-27 15:20:46 +02:00
},
{
"path": "./dist/css/bootstrap.min.css",
2019-01-10 08:03:16 +01:00
"maxSize": "23 kB"
},
2017-09-27 15:20:46 +02:00
{
"path": "./dist/js/bootstrap.bundle.js",
2017-11-16 17:04:15 +01:00
"maxSize": "51 kB"
2017-09-27 15:20:46 +02:00
},
{
"path": "./dist/js/bootstrap.bundle.min.js",
2017-11-16 17:04:15 +01:00
"maxSize": "24 kB"
2017-09-27 15:20:46 +02:00
},
2019-03-01 17:40:59 +01:00
{
"path": "./dist/js/bootstrap.esm.js",
"maxSize": "27 kB"
},
{
"path": "./dist/js/bootstrap.esm.min.js",
"maxSize": "18 kB"
},
2017-09-27 15:20:46 +02:00
{
"path": "./dist/js/bootstrap.js",
2017-11-16 17:04:15 +01:00
"maxSize": "29 kB"
2017-09-27 15:20:46 +02:00
},
{
"path": "./dist/js/bootstrap.min.js",
2017-11-16 17:04:15 +01:00
"maxSize": "17.5 kB"
2017-09-27 15:20:46 +02:00
}
],
2013-12-15 19:56:51 +01:00
"jspm": {
2017-09-05 20:49:29 +02:00
"registry": "npm",
2013-12-15 19:56:51 +01:00
"main": "js/bootstrap",
"directories": {
"lib": "dist"
},
2013-12-15 19:56:51 +01:00
"shim": {
"js/bootstrap": {
2015-10-13 23:49:05 +02:00
"deps": [
2017-08-15 13:48:38 +02:00
"popper.js"
2018-06-17 22:59:48 +02:00
]
2013-12-15 19:56:51 +01:00
}
},
2017-08-15 13:48:38 +02:00
"dependencies": {},
"peerDependencies": {
2019-02-08 08:39:03 +01:00
"popper.js": "^1.14.7"
}
2013-11-26 11:10:06 +01:00
}
}