2012-04-20 06:32:41 +08:00
|
|
|
{
|
2013-12-16 02:56:51 +08:00
|
|
|
"name": "bootstrap",
|
2014-03-04 06:18:03 +08:00
|
|
|
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
2020-11-24 22:37:20 +08:00
|
|
|
"version": "5.0.0-beta1",
|
2020-05-14 03:36:00 +08:00
|
|
|
"version_short": "5.0",
|
2013-12-17 20:39:36 +08:00
|
|
|
"keywords": [
|
2014-03-04 06:20:37 +08:00
|
|
|
"css",
|
2015-01-16 05:20:40 +08:00
|
|
|
"sass",
|
2014-03-04 06:20:37 +08:00
|
|
|
"mobile-first",
|
|
|
|
"responsive",
|
|
|
|
"front-end",
|
|
|
|
"framework",
|
|
|
|
"web"
|
2013-12-17 20:39:36 +08:00
|
|
|
],
|
2018-04-02 19:55:58 +08:00
|
|
|
"homepage": "https://getbootstrap.com/",
|
2016-05-21 00:04:31 +08:00
|
|
|
"author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
|
2016-06-21 07:18:21 +08:00
|
|
|
"contributors": [
|
|
|
|
"Twitter, Inc."
|
|
|
|
],
|
2013-12-17 20:39:36 +08:00
|
|
|
"scripts": {
|
2018-07-12 13:29:23 +08:00
|
|
|
"start": "npm-run-all --parallel watch docs-serve",
|
2020-04-09 02:28:54 +08:00
|
|
|
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
|
2020-06-08 23:19:14 +08:00
|
|
|
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
|
2020-09-23 16:13:24 +08:00
|
|
|
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
|
2020-11-19 21:55:32 +08:00
|
|
|
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
|
2019-07-24 14:47:37 +08:00
|
|
|
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
|
2020-11-06 18:00:03 +08:00
|
|
|
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
|
2019-09-17 05:22:49 +08:00
|
|
|
"css-lint-vars": "fusv scss/ site/assets/scss/",
|
2020-06-08 23:19:14 +08:00
|
|
|
"css-minify": "npm-run-all --parallel css-minify-*",
|
|
|
|
"css-minify-main": "cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.min.css dist/css/bootstrap-utilities.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
|
|
|
|
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.rtl.min.css dist/css/bootstrap.rtl.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.rtl.min.css dist/css/bootstrap-grid.rtl.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.rtl.min.css dist/css/bootstrap-utilities.rtl.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.rtl.min.css dist/css/bootstrap-reboot.rtl.css",
|
2018-10-21 17:32:07 +08:00
|
|
|
"css-prefix": "npm-run-all --parallel css-prefix-*",
|
2020-11-19 21:55:32 +08:00
|
|
|
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
|
2019-09-17 05:22:49 +08:00
|
|
|
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
|
2020-12-04 14:40:16 +08:00
|
|
|
"css-prefix-examples-rtl": "cross-env-shell NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"site/content/docs/$npm_package_version_short/examples/\" --ext \".rtl.css\" --base \"site/content/docs/$npm_package_version_short/examples/\" \"site/content/docs/$npm_package_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.css\" \"!site/content/docs/$npm_package_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.rtl.css\"",
|
2019-07-29 15:57:54 +08:00
|
|
|
"js": "npm-run-all js-compile js-minify",
|
|
|
|
"js-compile": "npm-run-all --parallel js-compile-*",
|
2017-11-06 02:03:33 +08:00
|
|
|
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
|
2019-03-02 00:40:39 +08:00
|
|
|
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
|
2017-11-06 02:03:33 +08:00
|
|
|
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
|
2018-06-27 17:33:07 +08:00
|
|
|
"js-compile-plugins": "node build/build-plugins.js",
|
2019-09-02 17:44:19 +08:00
|
|
|
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
|
2019-09-17 05:22:49 +08:00
|
|
|
"js-minify": "npm-run-all --parallel js-minify-*",
|
2020-12-11 21:48:21 +08:00
|
|
|
"js-minify-standalone": "terser --compress passes=2 --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",
|
|
|
|
"js-minify-standalone-esm": "terser --compress passes=2 --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 passes=2 --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",
|
2020-11-25 15:29:16 +08:00
|
|
|
"js-test": "npm-run-all --parallel js-test-karma js-test-jquery js-test-integration-*",
|
2020-05-08 21:17:40 +08:00
|
|
|
"js-debug": "cross-env DEBUG=true npm run js-test-karma",
|
2017-11-18 00:38:34 +08:00
|
|
|
"js-test-karma": "karma start js/tests/karma.conf.js",
|
2020-11-25 15:29:16 +08:00
|
|
|
"js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
|
|
|
|
"js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
|
2018-09-13 15:42:15 +08:00
|
|
|
"js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
|
2020-05-06 13:23:05 +08:00
|
|
|
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
|
2019-12-27 20:29:48 +08:00
|
|
|
"lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
|
2019-09-17 05:22:49 +08:00
|
|
|
"docs": "npm-run-all docs-build docs-lint",
|
2019-02-06 01:39:41 +08:00
|
|
|
"docs-build": "hugo --cleanDestinationDir",
|
|
|
|
"docs-compile": "npm run docs-build",
|
2019-07-15 21:26:36 +08:00
|
|
|
"docs-linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"",
|
|
|
|
"docs-vnu": "node build/vnu-jar.js",
|
|
|
|
"docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
|
2019-02-07 19:10:06 +08:00
|
|
|
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
2020-11-05 02:35:03 +08:00
|
|
|
"docs-serve-only": "npx sirv-cli _gh_pages --port 9001",
|
2020-02-20 17:34:01 +08:00
|
|
|
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
2020-12-20 23:38:11 +08:00
|
|
|
"update-deps": "ncu -u -x karma-browserstack-launcher,terser && npm update && echo Manually update site/assets/js/vendor",
|
2020-04-30 02:03:26 +08:00
|
|
|
"release": "npm-run-all dist release-sri docs-build release-zip*",
|
2017-11-23 16:22:54 +08:00
|
|
|
"release-sri": "node build/generate-sri.js",
|
2017-04-19 19:59:12 +08:00
|
|
|
"release-version": "node build/change-version.js",
|
2019-11-07 17:33:10 +08:00
|
|
|
"release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist && cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"",
|
2020-04-30 02:03:26 +08:00
|
|
|
"release-zip-examples": "node build/zip-examples.js",
|
2018-08-02 16:30:03 +08:00
|
|
|
"dist": "npm-run-all --parallel css js",
|
2019-08-09 02:26:02 +08:00
|
|
|
"test": "npm-run-all lint dist js-test docs-build docs-lint",
|
2020-02-22 15:15:19 +08:00
|
|
|
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
|
2018-07-12 13:29:23 +08:00
|
|
|
"watch": "npm-run-all --parallel watch-*",
|
2019-09-17 05:22:49 +08:00
|
|
|
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
|
2020-06-08 23:19:14 +08:00
|
|
|
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
|
2019-09-17 05:22:49 +08:00
|
|
|
"watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
|
|
|
|
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
|
2019-11-04 20:44:07 +08:00
|
|
|
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
|
2013-12-17 20:39:36 +08:00
|
|
|
},
|
2014-03-08 06:07:38 +08:00
|
|
|
"style": "dist/css/bootstrap.css",
|
2015-01-19 06:53:06 +08:00
|
|
|
"sass": "scss/bootstrap.scss",
|
2019-03-01 17:11:41 +08:00
|
|
|
"main": "dist/js/bootstrap.js",
|
|
|
|
"module": "dist/js/bootstrap.esm.js",
|
2013-12-16 02:56:51 +08:00
|
|
|
"repository": {
|
2013-12-21 03:09:51 +08:00
|
|
|
"type": "git",
|
2017-10-09 19:34:32 +08:00
|
|
|
"url": "git+https://github.com/twbs/bootstrap.git"
|
2013-12-16 02:56:51 +08:00
|
|
|
},
|
|
|
|
"bugs": {
|
2013-12-21 03:09:51 +08:00
|
|
|
"url": "https://github.com/twbs/bootstrap/issues"
|
2013-12-16 02:56:51 +08:00
|
|
|
},
|
2015-07-26 02:28:00 +08:00
|
|
|
"license": "MIT",
|
2020-01-02 16:20:57 +08:00
|
|
|
"funding": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/bootstrap"
|
|
|
|
},
|
2017-08-10 10:41:05 +08:00
|
|
|
"dependencies": {},
|
2017-08-08 12:37:01 +08:00
|
|
|
"peerDependencies": {
|
2020-12-16 17:41:15 +08:00
|
|
|
"@popperjs/core": "^2.6.0"
|
2016-03-07 17:23:55 +08:00
|
|
|
},
|
2013-12-16 02:56:51 +08:00
|
|
|
"devDependencies": {
|
2020-12-11 16:02:17 +08:00
|
|
|
"@babel/cli": "^7.12.10",
|
2020-12-11 16:08:10 +08:00
|
|
|
"@babel/core": "^7.12.10",
|
2020-12-17 21:01:11 +08:00
|
|
|
"@babel/preset-env": "^7.12.11",
|
2020-12-16 17:41:15 +08:00
|
|
|
"@popperjs/core": "^2.6.0",
|
2020-12-01 18:30:12 +08:00
|
|
|
"@rollup/plugin-babel": "^5.2.2",
|
2020-12-01 18:26:00 +08:00
|
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
2020-12-14 23:26:22 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
2020-06-19 16:17:01 +08:00
|
|
|
"@rollup/plugin-replace": "^2.3.4",
|
2021-01-10 04:57:00 +08:00
|
|
|
"autoprefixer": "^10.2.1",
|
2020-09-28 18:47:17 +08:00
|
|
|
"bundlewatch": "^0.3.1",
|
2019-03-29 07:04:36 +08:00
|
|
|
"clean-css-cli": "^4.3.0",
|
2020-12-02 12:46:31 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2021-01-05 18:36:44 +08:00
|
|
|
"eslint": "^7.17.0",
|
2021-01-05 21:24:56 +08:00
|
|
|
"eslint-config-xo": "^0.34.0",
|
2020-09-28 19:02:41 +08:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2021-01-05 20:49:06 +08:00
|
|
|
"eslint-plugin-unicorn": "^25.0.1",
|
2021-01-05 21:51:47 +08:00
|
|
|
"find-unused-sass-variables": "^3.1.0",
|
2019-11-07 14:20:27 +08:00
|
|
|
"glob": "^7.1.6",
|
2018-03-04 05:04:11 +08:00
|
|
|
"hammer-simulator": "0.0.1",
|
2021-01-05 18:48:54 +08:00
|
|
|
"hugo-bin": "^0.68.0",
|
2018-08-01 16:11:10 +08:00
|
|
|
"ip": "^1.1.5",
|
2020-05-06 13:23:05 +08:00
|
|
|
"jquery": "^3.5.1",
|
2020-09-28 18:50:31 +08:00
|
|
|
"karma": "^5.2.3",
|
2020-12-22 21:45:01 +08:00
|
|
|
"karma-browserstack-launcher": "1.4.0",
|
2019-08-16 16:10:07 +08:00
|
|
|
"karma-chrome-launcher": "^3.1.0",
|
2020-06-03 00:21:06 +08:00
|
|
|
"karma-coverage-istanbul-reporter": "^3.0.3",
|
2018-10-06 16:49:39 +08:00
|
|
|
"karma-detect-browsers": "^2.3.3",
|
2020-11-03 17:38:26 +08:00
|
|
|
"karma-firefox-launcher": "^2.1.0",
|
2020-08-19 02:28:26 +08:00
|
|
|
"karma-jasmine": "^4.0.1",
|
2020-05-14 14:26:44 +08:00
|
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
2020-03-26 04:58:32 +08:00
|
|
|
"karma-rollup-preprocessor": "^7.0.5",
|
2020-12-29 18:35:20 +08:00
|
|
|
"linkinator": "^2.11.2",
|
2020-06-25 16:57:18 +08:00
|
|
|
"lockfile-lint": "^4.3.7",
|
2021-01-07 16:03:00 +08:00
|
|
|
"nodemon": "^2.0.7",
|
2018-11-25 00:14:31 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-01-10 04:57:00 +08:00
|
|
|
"postcss": "^8.2.4",
|
2020-12-14 22:41:34 +08:00
|
|
|
"postcss-cli": "^8.3.1",
|
2021-01-07 16:11:16 +08:00
|
|
|
"rollup": "^2.36.1",
|
2020-12-29 18:31:04 +08:00
|
|
|
"rollup-plugin-istanbul": "^3.0.0",
|
2020-12-14 16:44:22 +08:00
|
|
|
"rtlcss": "^3.0.0",
|
2021-01-07 16:08:07 +08:00
|
|
|
"sass": "^1.32.2",
|
2020-04-28 20:23:03 +08:00
|
|
|
"shelljs": "^0.8.4",
|
2020-11-24 14:19:25 +08:00
|
|
|
"stylelint": "^13.8.0",
|
2020-09-15 17:26:43 +08:00
|
|
|
"stylelint-config-twbs-bootstrap": "^2.1.0",
|
2020-10-19 21:05:25 +08:00
|
|
|
"terser": "5.1.0",
|
2020-06-30 20:02:34 +08:00
|
|
|
"vnu-jar": "20.6.30"
|
2013-12-16 02:56:51 +08:00
|
|
|
},
|
2015-02-14 20:36:50 +08:00
|
|
|
"files": [
|
2018-08-02 14:25:40 +08:00
|
|
|
"dist/{css,js}/*.{css,js,map}",
|
2019-02-13 21:21:04 +08:00
|
|
|
"js/{src,dist}/**/*.{js,map}",
|
2018-08-02 14:25:40 +08:00
|
|
|
"scss/**/*.scss"
|
2015-02-14 20:36:50 +08:00
|
|
|
],
|
2019-09-17 05:22:49 +08:00
|
|
|
"hugo-bin": {
|
|
|
|
"buildTags": "extended"
|
|
|
|
},
|
2013-12-16 02:56:51 +08:00
|
|
|
"jspm": {
|
2017-09-06 02:49:29 +08:00
|
|
|
"registry": "npm",
|
2013-12-16 02:56:51 +08:00
|
|
|
"main": "js/bootstrap",
|
2015-08-24 19:44:30 +08:00
|
|
|
"directories": {
|
|
|
|
"lib": "dist"
|
|
|
|
},
|
2013-12-16 02:56:51 +08:00
|
|
|
"shim": {
|
|
|
|
"js/bootstrap": {
|
2015-10-14 05:49:05 +08:00
|
|
|
"deps": [
|
2020-06-19 16:17:01 +08:00
|
|
|
"@popperjs/core"
|
2018-06-18 04:59:48 +08:00
|
|
|
]
|
2013-12-16 02:56:51 +08:00
|
|
|
}
|
|
|
|
},
|
2017-08-15 19:48:38 +08:00
|
|
|
"dependencies": {},
|
|
|
|
"peerDependencies": {
|
2020-12-16 17:41:15 +08:00
|
|
|
"@popperjs/core": "^2.6.0"
|
2015-08-24 19:44:30 +08:00
|
|
|
}
|
2013-11-26 18:10:06 +08:00
|
|
|
}
|
2012-12-20 15:52:38 +08:00
|
|
|
}
|