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.",
|
2019-02-14 00:01:40 +08:00
|
|
|
"version": "4.3.1",
|
2019-02-12 03:15:34 +08:00
|
|
|
"version_short": "4.3",
|
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",
|
2017-09-27 21:20:46 +08:00
|
|
|
"bundlesize": "bundlesize",
|
2019-07-29 15:57:54 +08:00
|
|
|
"css": "npm-run-all css-compile css-prefix css-minify",
|
2019-09-17 05:22:49 +08:00
|
|
|
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/",
|
2019-07-24 14:47:37 +08:00
|
|
|
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
|
2019-08-30 16:52:22 +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/",
|
|
|
|
"css-minify": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.min.css dist/css/bootstrap-utilities.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
|
2018-10-21 17:32:07 +08: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\"",
|
2019-09-17 05:22:49 +08:00
|
|
|
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.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-03-09 20:53:13 +08:00
|
|
|
"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 17:11:41 +08: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",
|
2020-03-09 20:53:13 +08:00
|
|
|
"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",
|
2019-07-23 19:58:11 +08:00
|
|
|
"js-test": "npm-run-all --parallel js-test-karma js-test-integration",
|
2019-02-23 06:37:55 +08:00
|
|
|
"js-debug": "cross-env DEBUG=true karma start js/tests/karma.conf.js",
|
2017-11-18 00:38:34 +08:00
|
|
|
"js-test-karma": "karma start js/tests/karma.conf.js",
|
2019-10-02 20:32:29 +08:00
|
|
|
"js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js && 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",
|
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",
|
2019-07-23 17:35:37 +08:00
|
|
|
"docs-serve-only": "serve _gh_pages --listen 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-02-05 16:16:17 +08:00
|
|
|
"update-deps": "ncu -u -x karma-browserstack-launcher,popper.js && npm update && echo Manually update site/assets/js/vendor",
|
2020-02-22 14:54:43 +08:00
|
|
|
"release": "npm-run-all dist release-sri release-zip docs-build",
|
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\"",
|
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\"",
|
|
|
|
"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": {
|
2019-10-20 23:57:15 +08:00
|
|
|
"popper.js": "^1.16.0"
|
2016-03-07 17:23:55 +08:00
|
|
|
},
|
2013-12-16 02:56:51 +08:00
|
|
|
"devDependencies": {
|
2020-02-03 18:00:28 +08:00
|
|
|
"@babel/cli": "^7.8.4",
|
2020-03-24 21:32:32 +08:00
|
|
|
"@babel/core": "^7.9.0",
|
2020-03-24 21:39:35 +08:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.9.0",
|
2020-03-24 21:52:24 +08:00
|
|
|
"@babel/preset-env": "^7.9.0",
|
2020-02-03 18:47:12 +08:00
|
|
|
"@rollup/plugin-commonjs": "^11.0.2",
|
2020-02-04 05:37:10 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^7.1.1",
|
2020-04-07 21:08:17 +08:00
|
|
|
"autoprefixer": "^9.7.6",
|
2019-07-09 22:18:14 +08:00
|
|
|
"bundlesize": "^0.18.0",
|
2019-03-29 07:04:36 +08:00
|
|
|
"clean-css-cli": "^4.3.0",
|
2020-03-06 21:28:57 +08:00
|
|
|
"cross-env": "^7.0.2",
|
2019-12-24 20:16:37 +08:00
|
|
|
"eslint": "^6.8.0",
|
2020-02-18 03:24:34 +08:00
|
|
|
"eslint-config-xo": "^0.29.1",
|
2020-03-31 21:25:34 +08:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
2020-03-31 21:06:12 +08:00
|
|
|
"eslint-plugin-unicorn": "^18.0.1",
|
2020-01-21 19:36:00 +08:00
|
|
|
"find-unused-sass-variables": "^1.0.5",
|
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",
|
2020-03-24 21:50:07 +08:00
|
|
|
"hugo-bin": "^0.56.3",
|
2018-08-01 16:11:10 +08:00
|
|
|
"ip": "^1.1.5",
|
2019-10-22 16:21:42 +08:00
|
|
|
"karma": "^4.4.1",
|
2019-07-23 17:14:29 +08:00
|
|
|
"karma-browserstack-launcher": "1.4.0",
|
2019-08-16 16:10:07 +08:00
|
|
|
"karma-chrome-launcher": "^3.1.0",
|
2019-11-22 17:20:25 +08:00
|
|
|
"karma-coverage-istanbul-reporter": "^2.1.1",
|
2018-10-06 16:49:39 +08:00
|
|
|
"karma-detect-browsers": "^2.3.3",
|
2020-01-08 15:27:53 +08:00
|
|
|
"karma-firefox-launcher": "^1.3.0",
|
2020-02-11 20:16:16 +08:00
|
|
|
"karma-jasmine": "^3.1.1",
|
2020-03-26 04:46:54 +08:00
|
|
|
"karma-jasmine-html-reporter": "^1.5.3",
|
2020-03-26 04:58:32 +08:00
|
|
|
"karma-rollup-preprocessor": "^7.0.5",
|
2020-04-03 03:35:55 +08:00
|
|
|
"linkinator": "^2.0.6",
|
2020-03-26 04:40:12 +08:00
|
|
|
"lockfile-lint": "^4.2.2",
|
2020-01-16 23:11:48 +08:00
|
|
|
"node-sass": "^4.13.1",
|
2019-12-13 23:23:46 +08:00
|
|
|
"nodemon": "^2.0.2",
|
2018-11-25 00:14:31 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-10-20 23:57:15 +08:00
|
|
|
"popper.js": "^1.16.0",
|
2020-01-09 22:45:10 +08:00
|
|
|
"postcss-cli": "^7.1.0",
|
2020-04-07 21:01:29 +08:00
|
|
|
"rollup": "^2.3.3",
|
2020-03-10 19:45:25 +08:00
|
|
|
"rollup-plugin-babel": "^4.4.0",
|
2019-03-13 22:23:50 +08:00
|
|
|
"rollup-plugin-istanbul": "^2.0.1",
|
2019-12-31 21:06:16 +08:00
|
|
|
"serve": "^11.3.0",
|
2018-11-16 14:50:04 +08:00
|
|
|
"shelljs": "^0.8.3",
|
2020-04-07 20:07:29 +08:00
|
|
|
"stylelint": "^13.3.0",
|
2020-02-11 20:01:28 +08:00
|
|
|
"stylelint-config-twbs-bootstrap": "^2.0.1",
|
2020-04-03 03:35:55 +08:00
|
|
|
"terser": "^4.6.10",
|
2020-03-17 18:00:03 +08:00
|
|
|
"vnu-jar": "20.3.16"
|
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": [
|
2017-08-15 19:48:38 +08:00
|
|
|
"popper.js"
|
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": {
|
2019-10-20 23:57:15 +08:00
|
|
|
"popper.js": "^1.16.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
|
|
|
}
|