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

178 lines
8.9 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.",
"version": "5.0.1",
"config": {
"version_short": "5.0"
},
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",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
2020-06-08 17:19:14 +02:00
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
2020-11-19 14:55:32 +01: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\"",
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
"css-lint-vars": "fusv scss/ site/assets/scss/",
2020-06-08 17:19:14 +02:00
"css-minify": "npm-run-all --parallel css-minify-*",
"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\"",
2018-10-21 11:32:07 +02:00
"css-prefix": "npm-run-all --parallel css-prefix-*",
2020-11-19 14:55:32 +01:00
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
"css-prefix-examples-rtl": "cross-env-shell NODE_ENV=RTL postcss --config build/postcss.config.js --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\"",
"js": "npm-run-all js-compile js-minify",
"js-compile": "npm-run-all --parallel js-compile-*",
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-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"js-minify": "npm-run-all --parallel js-minify-*",
"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",
"js-test": "npm-run-all --parallel js-test-karma js-test-jquery js-test-integration-*",
"js-debug": "cross-env DEBUG=true npm run js-test-karma",
2017-11-17 17:38:34 +01:00
"js-test-karma": "karma start js/tests/karma.conf.js",
"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",
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
2019-12-27 13:29:48 +01:00
"lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
"docs": "npm-run-all docs-build docs-lint",
"docs-build": "hugo --cleanDestinationDir",
"docs-compile": "npm run docs-build",
2021-03-02 16:05:26 +01:00
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
2019-02-07 12:10:06 +01:00
"docs-serve": "hugo server --port 9001 --disableFastRender",
2021-03-02 16:05:26 +01:00
"docs-serve-only": "npx sirv-cli _site --port 9001",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"update-deps": "ncu -u -x karma-browserstack-launcher,terser && npm update && echo Manually update site/assets/js/vendor",
"release": "npm-run-all dist release-sri docs-build release-zip*",
"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 \"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\"",
"release-zip-examples": "node build/zip-examples.js",
2018-08-02 10:30:03 +02:00
"dist": "npm-run-all --parallel css js",
2019-08-08 20:26:02 +02:00
"test": "npm-run-all lint dist js-test docs-build docs-lint",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
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-all css-lint css-compile css-prefix\"",
2020-06-08 17:19:14 +02:00
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
"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 13:44:07 +01:00
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
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",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
},
2017-08-10 04:41:05 +02:00
"dependencies": {},
"peerDependencies": {
"@popperjs/core": "^2.9.2"
},
2013-12-15 19:56:51 +01:00
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@popperjs/core": "^2.9.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"autoprefixer": "^10.2.6",
"bundlewatch": "^0.3.2",
"clean-css-cli": "^5.3.0",
"cross-env": "^7.0.3",
"eslint": "^7.29.0",
"eslint-config-xo": "^0.36.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-unicorn": "^31.0.0",
"find-unused-sass-variables": "^3.1.0",
"glob": "^7.1.7",
"globby": "^11.0.4",
"hammer-simulator": "0.0.1",
"hugo-bin": "^0.72.1",
"ip": "^1.1.5",
"jquery": "^3.6.0",
"karma": "^6.3.4",
"karma-browserstack-launcher": "1.4.0",
2019-08-16 10:10:07 +02:00
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
2018-10-06 10:49:39 +02:00
"karma-detect-browsers": "^2.3.3",
"karma-firefox-launcher": "^2.1.1",
"karma-jasmine": "^4.0.1",
"karma-jasmine-html-reporter": "^1.6.0",
"karma-rollup-preprocessor": "^7.0.7",
"linkinator": "^2.13.6",
"lockfile-lint": "^4.6.2",
"nodemon": "^2.0.7",
2018-11-24 17:14:31 +01:00
"npm-run-all": "^4.1.5",
"postcss": "^8.3.5",
"postcss-cli": "^8.3.1",
"rollup": "^2.52.2",
"rollup-plugin-istanbul": "^3.0.0",
"rtlcss": "^3.2.0",
"sass": "1.32.13",
"shelljs": "^0.8.4",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.1",
"terser": "5.1.0",
"vnu-jar": "21.6.11"
2013-12-15 19:56:51 +01:00
},
"files": [
"dist/{css,js}/*.{css,js,map}",
"js/{src,dist}/**/*.{js,map}",
"scss/**/*.scss"
],
"hugo-bin": {
"buildTags": "extended"
},
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": [
2020-06-19 10:17:01 +02:00
"@popperjs/core"
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": {
"@popperjs/core": "^2.9.2"
}
2013-11-26 11:10:06 +01:00
}
}