1 | {
|
2 | "name": "bootstrap",
|
3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
4 | "version": "5.3.3",
|
5 | "config": {
|
6 | "version_short": "5.3"
|
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 | "license": "MIT",
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "git+https://github.com/twbs/bootstrap.git"
|
23 | },
|
24 | "bugs": {
|
25 | "url": "https://github.com/twbs/bootstrap/issues"
|
26 | },
|
27 | "funding": [
|
28 | {
|
29 | "type": "github",
|
30 | "url": "https://github.com/sponsors/twbs"
|
31 | },
|
32 | {
|
33 | "type": "opencollective",
|
34 | "url": "https://opencollective.com/bootstrap"
|
35 | }
|
36 | ],
|
37 | "main": "dist/js/bootstrap.js",
|
38 | "module": "dist/js/bootstrap.esm.js",
|
39 | "sass": "scss/bootstrap.scss",
|
40 | "style": "dist/css/bootstrap.css",
|
41 | "scripts": {
|
42 | "start": "npm-run-all --parallel watch docs-serve",
|
43 | "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
|
44 | "css": "npm-run-all css-compile css-prefix css-rtl css-minify",
|
45 | "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
|
46 | "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\"",
|
47 | "css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
|
48 | "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache",
|
49 | "css-lint-vars": "fusv scss/ site/assets/scss/",
|
50 | "css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
|
51 | "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\"",
|
52 | "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\"",
|
53 | "css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
|
54 | "css-prefix-main": "postcss --config build/postcss.config.mjs --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
|
55 | "css-prefix-examples": "postcss --config build/postcss.config.mjs --replace \"site/content/**/*.css\"",
|
56 | "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\"",
|
57 | "css-test": "jasmine --config=scss/tests/jasmine.js",
|
58 | "js": "npm-run-all js-compile js-minify",
|
59 | "js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
|
60 | "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.mjs --sourcemap",
|
61 | "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.mjs --sourcemap",
|
62 | "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.mjs --sourcemap",
|
63 | "js-compile-plugins": "node build/build-plugins.mjs",
|
64 | "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives --ext .html,.js,.mjs,.md .",
|
65 | "js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
|
66 | "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",
|
67 | "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",
|
68 | "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",
|
69 | "js-test": "npm-run-all --aggregate-output --parallel js-test-karma js-test-jquery js-test-integration-*",
|
70 | "js-debug": "cross-env DEBUG=true npm run js-test-karma",
|
71 | "js-test-karma": "karma start js/tests/karma.conf.js",
|
72 | "js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
|
73 | "js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
|
74 | "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
|
75 | "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
|
76 | "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
|
77 | "docs": "npm-run-all docs-build docs-lint",
|
78 | "docs-build": "hugo --cleanDestinationDir --printUnusedTemplates",
|
79 | "docs-compile": "npm run docs-build",
|
80 | "docs-vnu": "node build/vnu-jar.mjs",
|
81 | "docs-lint": "npm run docs-vnu",
|
82 | "docs-serve": "hugo server --port 9001 --disableFastRender --printUnusedTemplates",
|
83 | "docs-serve-only": "npx sirv-cli _site --port 9001",
|
84 | "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
85 | "update-deps": "ncu -u -x globby,jasmine,karma-browserstack-launcher,karma-rollup-preprocessor && echo Manually update site/assets/js/vendor",
|
86 | "release": "npm-run-all dist release-sri docs-build release-zip*",
|
87 | "release-sri": "node build/generate-sri.mjs",
|
88 | "release-version": "node build/change-version.mjs",
|
89 | "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\"",
|
90 | "release-zip-examples": "node build/zip-examples.mjs",
|
91 | "dist": "npm-run-all --aggregate-output --parallel css js",
|
92 | "test": "npm-run-all lint dist js-test docs-build docs-lint",
|
93 | "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
|
94 | "watch": "npm-run-all --parallel watch-*",
|
95 | "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
|
96 | "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
|
97 | "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
|
98 | "watch-css-test": "nodemon --watch scss/ --ext scss,js --exec \"npm run css-test\"",
|
99 | "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
|
100 | "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
|
101 | },
|
102 | "peerDependencies": {
|
103 | "@popperjs/core": "^2.11.8"
|
104 | },
|
105 | "devDependencies": {
|
106 | "@babel/cli": "^7.23.9",
|
107 | "@babel/core": "^7.23.9",
|
108 | "@babel/preset-env": "^7.23.9",
|
109 | "@popperjs/core": "^2.11.8",
|
110 | "@rollup/plugin-babel": "^6.0.4",
|
111 | "@rollup/plugin-commonjs": "^25.0.7",
|
112 | "@rollup/plugin-node-resolve": "^15.2.3",
|
113 | "@rollup/plugin-replace": "^5.0.5",
|
114 | "autoprefixer": "^10.4.17",
|
115 | "bundlewatch": "^0.3.3",
|
116 | "clean-css-cli": "^5.6.3",
|
117 | "cross-env": "^7.0.3",
|
118 | "eslint": "^8.56.0",
|
119 | "eslint-config-xo": "^0.44.0",
|
120 | "eslint-plugin-html": "^8.0.0",
|
121 | "eslint-plugin-import": "^2.29.1",
|
122 | "eslint-plugin-markdown": "^3.0.1",
|
123 | "eslint-plugin-unicorn": "^51.0.1",
|
124 | "find-unused-sass-variables": "^5.0.0",
|
125 | "globby": "^11.1.0",
|
126 | "hammer-simulator": "0.0.1",
|
127 | "hugo-bin": "^0.119.0",
|
128 | "ip": "^2.0.1",
|
129 | "jasmine": "^5.1.0",
|
130 | "jquery": "^3.7.1",
|
131 | "karma": "^6.4.2",
|
132 | "karma-browserstack-launcher": "1.4.0",
|
133 | "karma-chrome-launcher": "^3.2.0",
|
134 | "karma-coverage-istanbul-reporter": "^3.0.3",
|
135 | "karma-detect-browsers": "^2.3.3",
|
136 | "karma-firefox-launcher": "^2.1.2",
|
137 | "karma-jasmine": "^5.1.0",
|
138 | "karma-jasmine-html-reporter": "^2.1.0",
|
139 | "karma-rollup-preprocessor": "7.0.7",
|
140 | "lockfile-lint": "^4.13.1",
|
141 | "nodemon": "^3.0.3",
|
142 | "npm-run-all2": "^6.1.2",
|
143 | "postcss": "^8.4.35",
|
144 | "postcss-cli": "^11.0.0",
|
145 | "rollup": "^4.12.0",
|
146 | "rollup-plugin-istanbul": "^5.0.0",
|
147 | "rtlcss": "^4.1.1",
|
148 | "sass": "^1.71.0",
|
149 | "sass-true": "^7.0.1",
|
150 | "shelljs": "^0.8.5",
|
151 | "stylelint": "^16.2.1",
|
152 | "stylelint-config-twbs-bootstrap": "^14.0.0",
|
153 | "terser": "^5.27.2",
|
154 | "vnu-jar": "23.4.11"
|
155 | },
|
156 | "files": [
|
157 | "dist/{css,js}/*.{css,js,map}",
|
158 | "js/{src,dist}/**/*.{js,map}",
|
159 | "js/index.{esm,umd}.js",
|
160 | "scss/**/*.scss",
|
161 | "!scss/tests/**"
|
162 | ],
|
163 | "hugo-bin": {
|
164 | "buildTags": "extended"
|
165 | },
|
166 | "jspm": {
|
167 | "registry": "npm",
|
168 | "main": "js/bootstrap",
|
169 | "directories": {
|
170 | "lib": "dist"
|
171 | },
|
172 | "shim": {
|
173 | "js/bootstrap": {
|
174 | "deps": [
|
175 | "@popperjs/core"
|
176 | ]
|
177 | }
|
178 | },
|
179 | "dependencies": {},
|
180 | "peerDependencies": {
|
181 | "@popperjs/core": "^2.11.8"
|
182 | }
|
183 | }
|
184 | }
|