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.",
|
2024-02-20 23:14:29 +08:00
|
|
|
"version": "5.3.3",
|
2021-01-10 14:03:49 +08:00
|
|
|
"config": {
|
2022-12-25 00:37:22 +08:00
|
|
|
"version_short": "5.3"
|
2021-01-10 14:03:49 +08:00
|
|
|
},
|
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)",
|
2022-02-07 16:15:17 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/twbs/bootstrap.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/twbs/bootstrap/issues"
|
|
|
|
},
|
|
|
|
"funding": [
|
|
|
|
{
|
|
|
|
"type": "github",
|
|
|
|
"url": "https://github.com/sponsors/twbs"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/bootstrap"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"main": "dist/js/bootstrap.js",
|
|
|
|
"module": "dist/js/bootstrap.esm.js",
|
|
|
|
"sass": "scss/bootstrap.scss",
|
|
|
|
"style": "dist/css/bootstrap.css",
|
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/",
|
2023-08-06 12:37:24 +08:00
|
|
|
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.mjs --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
|
2021-07-08 14:55:20 +08:00
|
|
|
"css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
|
2023-03-15 12:30:45 +08:00
|
|
|
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache",
|
2019-09-17 05:22:49 +08:00
|
|
|
"css-lint-vars": "fusv scss/ site/assets/scss/",
|
2021-07-08 14:55:20 +08:00
|
|
|
"css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
|
2021-02-19 02:53:18 +08:00
|
|
|
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
|
|
|
|
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
|
2021-07-08 14:55:20 +08:00
|
|
|
"css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
|
2023-08-06 12:37:24 +08:00
|
|
|
"css-prefix-main": "postcss --config build/postcss.config.mjs --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
|
|
|
|
"css-prefix-examples": "postcss --config build/postcss.config.mjs --replace \"site/content/**/*.css\"",
|
|
|
|
"css-prefix-examples-rtl": "cross-env-shell NODE_ENV=RTL postcss --config build/postcss.config.mjs --dir \"site/content/docs/$npm_package_config_version_short/examples/\" --ext \".rtl.css\" --base \"site/content/docs/$npm_package_config_version_short/examples/\" \"site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.css\" \"!site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.rtl.css\"",
|
2022-12-25 06:29:20 +08:00
|
|
|
"css-test": "jasmine --config=scss/tests/jasmine.js",
|
2019-07-29 15:57:54 +08:00
|
|
|
"js": "npm-run-all js-compile js-minify",
|
2021-07-08 14:55:20 +08:00
|
|
|
"js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
|
2023-08-06 12:37:24 +08:00
|
|
|
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.mjs --sourcemap",
|
|
|
|
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.mjs --sourcemap",
|
|
|
|
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.mjs --sourcemap",
|
|
|
|
"js-compile-plugins": "node build/build-plugins.mjs",
|
|
|
|
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives --ext .html,.js,.mjs,.md .",
|
2021-07-08 14:55:20 +08:00
|
|
|
"js-minify": "npm-run-all --aggregate-output --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",
|
2021-07-08 14:55:20 +08:00
|
|
|
"js-test": "npm-run-all --aggregate-output --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",
|
2021-01-14 01:16:51 +08:00
|
|
|
"js-test-cloud": "cross-env BROWSERSTACK=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",
|
2021-07-08 14:55:20 +08:00
|
|
|
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
|
2023-03-14 15:09:48 +08:00
|
|
|
"docs": "npm-run-all docs-build docs-lint",
|
|
|
|
"docs-build": "hugo --cleanDestinationDir --printUnusedTemplates",
|
2019-02-06 01:39:41 +08:00
|
|
|
"docs-compile": "npm run docs-build",
|
2023-08-06 12:37:24 +08:00
|
|
|
"docs-vnu": "node build/vnu-jar.mjs",
|
2022-01-30 22:39:30 +08:00
|
|
|
"docs-lint": "npm run docs-vnu",
|
2024-03-04 00:29:49 +08:00
|
|
|
"docs-serve": "hugo server --port 9001 --disableFastRender --noHTTPCache --renderToMemory --printPathWarnings --printUnusedTemplates",
|
2021-03-02 23:05:26 +08:00
|
|
|
"docs-serve-only": "npx sirv-cli _site --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",
|
2024-05-02 14:59:41 +08:00
|
|
|
"update-deps": "ncu -u -x eslint,karma-browserstack-launcher,karma-rollup-preprocessor",
|
2020-04-30 02:03:26 +08:00
|
|
|
"release": "npm-run-all dist release-sri docs-build release-zip*",
|
2023-08-06 12:37:24 +08:00
|
|
|
"release-sri": "node build/generate-sri.mjs",
|
|
|
|
"release-version": "node build/change-version.mjs",
|
2023-03-29 00:56:17 +08:00
|
|
|
"release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist bootstrap-$npm_package_version-dist.zip && cp -r dist/ bootstrap-$npm_package_version-dist && zip -qr9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"",
|
2023-08-06 12:37:24 +08:00
|
|
|
"release-zip-examples": "node build/zip-examples.mjs",
|
2021-07-08 14:55:20 +08:00
|
|
|
"dist": "npm-run-all --aggregate-output --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\"",
|
2022-12-25 06:29:20 +08:00
|
|
|
"watch-css-test": "nodemon --watch scss/ --ext scss,js --exec \"npm run css-test\"",
|
2019-09-17 05:22:49 +08:00
|
|
|
"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
|
|
|
},
|
2017-08-08 12:37:01 +08:00
|
|
|
"peerDependencies": {
|
2023-06-26 02:36:55 +08:00
|
|
|
"@popperjs/core": "^2.11.8"
|
2016-03-07 17:23:55 +08:00
|
|
|
},
|
2013-12-16 02:56:51 +08:00
|
|
|
"devDependencies": {
|
2024-07-02 11:58:00 +08:00
|
|
|
"@babel/cli": "^7.24.7",
|
2024-07-02 12:03:44 +08:00
|
|
|
"@babel/core": "^7.24.7",
|
2024-07-02 12:01:26 +08:00
|
|
|
"@babel/preset-env": "^7.24.7",
|
2024-03-08 18:43:44 +08:00
|
|
|
"@docsearch/js": "^3.6.0",
|
2023-05-27 13:07:23 +08:00
|
|
|
"@popperjs/core": "^2.11.8",
|
2023-11-02 14:05:13 +08:00
|
|
|
"@rollup/plugin-babel": "^6.0.4",
|
2024-06-04 22:22:19 +08:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.8",
|
2023-11-02 13:59:34 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2024-07-02 12:12:36 +08:00
|
|
|
"@rollup/plugin-replace": "^5.0.7",
|
2024-07-02 11:56:38 +08:00
|
|
|
"@stackblitz/sdk": "^1.10.0",
|
2024-03-26 18:41:56 +08:00
|
|
|
"autoprefixer": "^10.4.19",
|
2022-01-18 13:09:40 +08:00
|
|
|
"bundlewatch": "^0.3.3",
|
2023-12-06 00:17:05 +08:00
|
|
|
"clean-css-cli": "^5.6.3",
|
2024-03-08 18:43:44 +08:00
|
|
|
"clipboard": "^2.0.11",
|
2020-12-02 12:46:31 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2024-02-27 21:20:22 +08:00
|
|
|
"eslint": "^8.57.0",
|
2024-06-04 23:28:45 +08:00
|
|
|
"eslint-config-xo": "^0.45.0",
|
2024-04-23 18:10:40 +08:00
|
|
|
"eslint-plugin-html": "^8.1.1",
|
2023-12-18 04:16:05 +08:00
|
|
|
"eslint-plugin-import": "^2.29.1",
|
2024-06-04 22:16:53 +08:00
|
|
|
"eslint-plugin-markdown": "^5.0.0",
|
2024-07-02 12:09:49 +08:00
|
|
|
"eslint-plugin-unicorn": "^54.0.0",
|
2024-04-02 18:00:59 +08:00
|
|
|
"find-unused-sass-variables": "^6.0.0",
|
2024-03-11 18:06:01 +08:00
|
|
|
"globby": "^14.0.1",
|
2018-03-04 05:04:11 +08:00
|
|
|
"hammer-simulator": "0.0.1",
|
2024-06-04 22:13:37 +08:00
|
|
|
"hugo-bin": "^0.123.3",
|
2024-02-20 20:45:28 +08:00
|
|
|
"ip": "^2.0.1",
|
2024-02-07 03:56:08 +08:00
|
|
|
"jasmine": "^5.1.0",
|
2023-09-13 18:05:36 +08:00
|
|
|
"jquery": "^3.7.1",
|
2024-03-05 19:22:16 +08:00
|
|
|
"karma": "^6.4.3",
|
2020-12-22 21:45:01 +08:00
|
|
|
"karma-browserstack-launcher": "1.4.0",
|
2023-04-26 20:23:42 +08:00
|
|
|
"karma-chrome-launcher": "^3.2.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",
|
2024-03-05 19:26:27 +08:00
|
|
|
"karma-firefox-launcher": "^2.1.3",
|
2022-06-28 14:07:31 +08:00
|
|
|
"karma-jasmine": "^5.1.0",
|
2023-06-06 21:43:44 +08:00
|
|
|
"karma-jasmine-html-reporter": "^2.1.0",
|
2022-04-08 14:17:00 +08:00
|
|
|
"karma-rollup-preprocessor": "7.0.7",
|
2024-02-23 03:59:12 +08:00
|
|
|
"lockfile-lint": "^4.13.2",
|
2024-06-04 22:23:03 +08:00
|
|
|
"nodemon": "^3.1.3",
|
2024-02-02 15:00:22 +08:00
|
|
|
"npm-run-all2": "^6.1.2",
|
2024-03-26 18:41:56 +08:00
|
|
|
"postcss": "^8.4.38",
|
2023-12-18 04:16:05 +08:00
|
|
|
"postcss-cli": "^11.0.0",
|
2024-06-04 22:22:39 +08:00
|
|
|
"rollup": "^4.18.0",
|
2023-11-02 13:58:00 +08:00
|
|
|
"rollup-plugin-istanbul": "^5.0.0",
|
2023-09-23 02:06:37 +08:00
|
|
|
"rtlcss": "^4.1.1",
|
2024-06-04 22:16:29 +08:00
|
|
|
"sass": "^1.77.4",
|
2024-02-27 21:24:40 +08:00
|
|
|
"sass-true": "^8.0.0",
|
2022-01-11 16:32:18 +08:00
|
|
|
"shelljs": "^0.8.5",
|
2024-06-04 22:14:13 +08:00
|
|
|
"stylelint": "^16.6.1",
|
2024-04-02 18:01:26 +08:00
|
|
|
"stylelint-config-twbs-bootstrap": "^14.1.0",
|
2024-05-02 13:41:26 +08:00
|
|
|
"terser": "^5.31.0",
|
2023-04-11 16:44:19 +08:00
|
|
|
"vnu-jar": "23.4.11"
|
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}",
|
2022-12-16 15:12:46 +08:00
|
|
|
"js/index.{esm,umd}.js",
|
2022-12-25 18:42:23 +08:00
|
|
|
"scss/**/*.scss",
|
|
|
|
"!scss/tests/**"
|
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": {
|
2023-06-26 02:36:55 +08:00
|
|
|
"@popperjs/core": "^2.11.8"
|
2015-08-24 19:44:30 +08:00
|
|
|
}
|
2013-11-26 18:10:06 +08:00
|
|
|
}
|
2012-12-20 15:52:38 +08:00
|
|
|
}
|