UNPKG

9.28 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.2.0",
5 "config": {
6 "version_short": "5.2"
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 "license": "MIT",
23 "repository": {
24 "type": "git",
25 "url": "git+https://github.com/twbs/bootstrap.git"
26 },
27 "bugs": {
28 "url": "https://github.com/twbs/bootstrap/issues"
29 },
30 "funding": [
31 {
32 "type": "github",
33 "url": "https://github.com/sponsors/twbs"
34 },
35 {
36 "type": "opencollective",
37 "url": "https://opencollective.com/bootstrap"
38 }
39 ],
40 "main": "dist/js/bootstrap.js",
41 "module": "dist/js/bootstrap.esm.js",
42 "sass": "scss/bootstrap.scss",
43 "style": "dist/css/bootstrap.css",
44 "scripts": {
45 "start": "npm-run-all --parallel watch docs-serve",
46 "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
47 "css": "npm-run-all css-compile css-prefix css-rtl css-minify",
48 "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
49 "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\"",
50 "css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
51 "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
52 "css-lint-vars": "fusv scss/ site/assets/scss/",
53 "css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
54 "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\"",
55 "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\"",
56 "css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
57 "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
58 "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
59 "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\"",
60 "js": "npm-run-all js-compile js-minify",
61 "js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
62 "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
63 "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
64 "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
65 "js-compile-plugins": "node build/build-plugins.js",
66 "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
67 "js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
68 "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",
69 "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",
70 "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",
71 "js-test": "npm-run-all --aggregate-output --parallel js-test-karma js-test-jquery js-test-integration-*",
72 "js-debug": "cross-env DEBUG=true npm run js-test-karma",
73 "js-test-karma": "karma start js/tests/karma.conf.js",
74 "js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
75 "js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
76 "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
77 "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
78 "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
79 "docs": "npm-run-all docs-build docs-lint",
80 "docs-build": "hugo --cleanDestinationDir",
81 "docs-compile": "npm run docs-build",
82 "docs-vnu": "node build/vnu-jar.js",
83 "docs-lint": "npm run docs-vnu",
84 "docs-serve": "hugo server --port 9001 --disableFastRender",
85 "docs-serve-only": "npx sirv-cli _site --port 9001",
86 "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
87 "update-deps": "ncu -u -x globby,karma-browserstack-launcher,karma-rollup-preprocessor && echo Manually update site/assets/js/vendor",
88 "release": "npm-run-all dist release-sri docs-build release-zip*",
89 "release-sri": "node build/generate-sri.js",
90 "release-version": "node build/change-version.js",
91 "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\"",
92 "release-zip-examples": "node build/zip-examples.js",
93 "dist": "npm-run-all --aggregate-output --parallel css js",
94 "test": "npm-run-all lint dist js-test docs-build docs-lint",
95 "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
96 "watch": "npm-run-all --parallel watch-*",
97 "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
98 "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
99 "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
100 "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
101 "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
102 },
103 "peerDependencies": {
104 "@popperjs/core": "^2.11.5"
105 },
106 "devDependencies": {
107 "@babel/cli": "^7.18.9",
108 "@babel/core": "^7.18.9",
109 "@babel/preset-env": "^7.18.9",
110 "@popperjs/core": "^2.11.5",
111 "@rollup/plugin-babel": "^5.3.1",
112 "@rollup/plugin-commonjs": "^22.0.1",
113 "@rollup/plugin-node-resolve": "^13.3.0",
114 "@rollup/plugin-replace": "^4.0.0",
115 "autoprefixer": "^10.4.7",
116 "bundlewatch": "^0.3.3",
117 "clean-css-cli": "^5.6.1",
118 "cross-env": "^7.0.3",
119 "eslint": "^8.20.0",
120 "eslint-config-xo": "^0.41.0",
121 "eslint-plugin-import": "^2.26.0",
122 "eslint-plugin-markdown": "^3.0.0",
123 "eslint-plugin-unicorn": "^42.0.0",
124 "find-unused-sass-variables": "^4.0.4",
125 "globby": "^11.1.0",
126 "hammer-simulator": "0.0.1",
127 "hugo-bin": "^0.89.0",
128 "ip": "^2.0.0",
129 "jquery": "^3.6.0",
130 "karma": "^6.4.0",
131 "karma-browserstack-launcher": "1.4.0",
132 "karma-chrome-launcher": "^3.1.1",
133 "karma-coverage-istanbul-reporter": "^3.0.3",
134 "karma-detect-browsers": "^2.3.3",
135 "karma-firefox-launcher": "^2.1.2",
136 "karma-jasmine": "^5.1.0",
137 "karma-jasmine-html-reporter": "^2.0.0",
138 "karma-rollup-preprocessor": "7.0.7",
139 "lockfile-lint": "^4.7.6",
140 "nodemon": "^2.0.19",
141 "npm-run-all": "^4.1.5",
142 "postcss": "^8.4.14",
143 "postcss-cli": "^10.0.0",
144 "rollup": "^2.77.0",
145 "rollup-plugin-istanbul": "^3.0.0",
146 "rtlcss": "^3.5.0",
147 "sass": "^1.53.0",
148 "shelljs": "^0.8.5",
149 "stylelint": "^14.9.1",
150 "stylelint-config-twbs-bootstrap": "^5.0.0",
151 "terser": "^5.14.2",
152 "vnu-jar": "21.10.12"
153 },
154 "files": [
155 "dist/{css,js}/*.{css,js,map}",
156 "js/{src,dist}/**/*.{js,map}",
157 "scss/**/*.scss"
158 ],
159 "hugo-bin": {
160 "buildTags": "extended"
161 },
162 "jspm": {
163 "registry": "npm",
164 "main": "js/bootstrap",
165 "directories": {
166 "lib": "dist"
167 },
168 "shim": {
169 "js/bootstrap": {
170 "deps": [
171 "@popperjs/core"
172 ]
173 }
174 },
175 "dependencies": {},
176 "peerDependencies": {
177 "@popperjs/core": "^2.11.5"
178 }
179 }
180}