UNPKG

9.15 kBJSONView Raw
1{
2 "name": "bootstrap",
3 "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
4 "version": "5.0.1",
5 "config": {
6 "version_short": "5.0"
7 },
8 "keywords": [
9 "css",
10 "sass",
11 "mobile-first",
12 "responsive",
13 "front-end",
14 "framework",
15 "web"
16 ],
17 "homepage": "https://getbootstrap.com/",
18 "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
19 "contributors": [
20 "Twitter, Inc."
21 ],
22 "scripts": {
23 "start": "npm-run-all --parallel watch docs-serve",
24 "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
25 "css": "npm-run-all css-compile css-prefix css-rtl css-minify",
26 "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
27 "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\"",
28 "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
29 "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
30 "css-lint-vars": "fusv scss/ site/assets/scss/",
31 "css-minify": "npm-run-all --parallel css-minify-*",
32 "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\"",
33 "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\"",
34 "css-prefix": "npm-run-all --parallel css-prefix-*",
35 "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
36 "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
37 "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\"",
38 "js": "npm-run-all js-compile js-minify",
39 "js-compile": "npm-run-all --parallel js-compile-*",
40 "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
41 "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
42 "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
43 "js-compile-plugins": "node build/build-plugins.js",
44 "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
45 "js-minify": "npm-run-all --parallel js-minify-*",
46 "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",
47 "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",
48 "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",
49 "js-test": "npm-run-all --parallel js-test-karma js-test-jquery js-test-integration-*",
50 "js-debug": "cross-env DEBUG=true npm run js-test-karma",
51 "js-test-karma": "karma start js/tests/karma.conf.js",
52 "js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
53 "js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
54 "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
55 "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
56 "lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
57 "docs": "npm-run-all docs-build docs-lint",
58 "docs-build": "hugo --cleanDestinationDir",
59 "docs-compile": "npm run docs-build",
60 "docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
61 "docs-vnu": "node build/vnu-jar.js",
62 "docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
63 "docs-serve": "hugo server --port 9001 --disableFastRender",
64 "docs-serve-only": "npx sirv-cli _site --port 9001",
65 "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
66 "update-deps": "ncu -u -x karma-browserstack-launcher,terser && npm update && echo Manually update site/assets/js/vendor",
67 "release": "npm-run-all dist release-sri docs-build release-zip*",
68 "release-sri": "node build/generate-sri.js",
69 "release-version": "node build/change-version.js",
70 "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\"",
71 "release-zip-examples": "node build/zip-examples.js",
72 "dist": "npm-run-all --parallel css js",
73 "test": "npm-run-all lint dist js-test docs-build docs-lint",
74 "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
75 "watch": "npm-run-all --parallel watch-*",
76 "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
77 "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
78 "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
79 "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
80 "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
81 },
82 "style": "dist/css/bootstrap.css",
83 "sass": "scss/bootstrap.scss",
84 "main": "dist/js/bootstrap.js",
85 "module": "dist/js/bootstrap.esm.js",
86 "repository": {
87 "type": "git",
88 "url": "git+https://github.com/twbs/bootstrap.git"
89 },
90 "bugs": {
91 "url": "https://github.com/twbs/bootstrap/issues"
92 },
93 "license": "MIT",
94 "funding": {
95 "type": "opencollective",
96 "url": "https://opencollective.com/bootstrap"
97 },
98 "dependencies": {},
99 "peerDependencies": {
100 "@popperjs/core": "^2.9.2"
101 },
102 "devDependencies": {
103 "@babel/cli": "^7.13.16",
104 "@babel/core": "^7.14.2",
105 "@babel/preset-env": "^7.14.2",
106 "@popperjs/core": "^2.9.2",
107 "@rollup/plugin-babel": "^5.3.0",
108 "@rollup/plugin-commonjs": "^19.0.0",
109 "@rollup/plugin-node-resolve": "^13.0.0",
110 "@rollup/plugin-replace": "^2.4.2",
111 "autoprefixer": "^10.2.5",
112 "bundlewatch": "^0.3.2",
113 "clean-css-cli": "^5.3.0",
114 "cross-env": "^7.0.3",
115 "eslint": "^7.26.0",
116 "eslint-config-xo": "^0.36.0",
117 "eslint-plugin-import": "^2.22.1",
118 "eslint-plugin-unicorn": "^31.0.0",
119 "find-unused-sass-variables": "^3.1.0",
120 "glob": "^7.1.7",
121 "globby": "^11.0.3",
122 "hammer-simulator": "0.0.1",
123 "hugo-bin": "^0.71.1",
124 "ip": "^1.1.5",
125 "jquery": "^3.6.0",
126 "karma": "^6.3.2",
127 "karma-browserstack-launcher": "1.4.0",
128 "karma-chrome-launcher": "^3.1.0",
129 "karma-coverage-istanbul-reporter": "^3.0.3",
130 "karma-detect-browsers": "^2.3.3",
131 "karma-firefox-launcher": "^2.1.0",
132 "karma-jasmine": "^4.0.1",
133 "karma-jasmine-html-reporter": "^1.6.0",
134 "karma-rollup-preprocessor": "^7.0.7",
135 "linkinator": "^2.13.6",
136 "lockfile-lint": "^4.6.2",
137 "nodemon": "^2.0.7",
138 "npm-run-all": "^4.1.5",
139 "postcss": "^8.2.15",
140 "postcss-cli": "^8.3.1",
141 "rollup": "^2.47.0",
142 "rollup-plugin-istanbul": "^3.0.0",
143 "rtlcss": "^3.1.2",
144 "sass": "^1.32.13",
145 "shelljs": "^0.8.4",
146 "stylelint": "^13.13.1",
147 "stylelint-config-twbs-bootstrap": "^2.2.0",
148 "terser": "5.1.0",
149 "vnu-jar": "21.4.9"
150 },
151 "files": [
152 "dist/{css,js}/*.{css,js,map}",
153 "js/{src,dist}/**/*.{js,map}",
154 "scss/**/*.scss"
155 ],
156 "hugo-bin": {
157 "buildTags": "extended"
158 },
159 "jspm": {
160 "registry": "npm",
161 "main": "js/bootstrap",
162 "directories": {
163 "lib": "dist"
164 },
165 "shim": {
166 "js/bootstrap": {
167 "deps": [
168 "@popperjs/core"
169 ]
170 }
171 },
172 "dependencies": {},
173 "peerDependencies": {
174 "@popperjs/core": "^2.9.2"
175 }
176 }
177}