]>
Commit | Line | Data |
---|---|---|
c99dcd2e | 1 | { |
9a8e6195 | 2 | "name": "bootstrap", |
745111ba | 3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", |
1a6fdfae | 4 | "version": "5.1.3", |
7e6d7b8f | 5 | "config": { |
f20fece3 | 6 | "version_short": "5.1" |
7e6d7b8f | 7 | }, |
29aaf66a | 8 | "keywords": [ |
6f1cc694 | 9 | "css", |
2916ac43 | 10 | "sass", |
6f1cc694 CR |
11 | "mobile-first", |
12 | "responsive", | |
13 | "front-end", | |
14 | "framework", | |
15 | "web" | |
29aaf66a | 16 | ], |
10c64bda | 17 | "homepage": "https://getbootstrap.com/", |
a90b3691 | 18 | "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)", |
a358fc9d CR |
19 | "contributors": [ |
20 | "Twitter, Inc." | |
21 | ], | |
77e02a07 X |
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", | |
29aaf66a | 44 | "scripts": { |
6589408a | 45 | "start": "npm-run-all --parallel watch docs-serve", |
9f6ccf9d | 46 | "bundlewatch": "bundlewatch --config .bundlewatch.config.json", |
71ecc332 | 47 | "css": "npm-run-all css-compile css-prefix css-rtl css-minify", |
c31aef49 | 48 | "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/", |
eb618393 | 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\"", |
452e2f06 | 50 | "css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*", |
82f24161 | 51 | "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd", |
129bb08f | 52 | "css-lint-vars": "fusv scss/ site/assets/scss/", |
452e2f06 | 53 | "css-minify": "npm-run-all --aggregate-output --parallel css-minify-*", |
d55abc2f X |
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\"", | |
452e2f06 | 56 | "css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*", |
eb618393 | 57 | "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"", |
129bb08f | 58 | "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"", |
7e6d7b8f | 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\"", |
1a935642 | 60 | "js": "npm-run-all js-compile js-minify", |
452e2f06 | 61 | "js-compile": "npm-run-all --aggregate-output --parallel js-compile-*", |
83fd91cd | 62 | "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap", |
faba7e3f | 63 | "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap", |
83fd91cd | 64 | "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap", |
eb81c39f | 65 | "js-compile-plugins": "node build/build-plugins.js", |
6cb4ebc0 | 66 | "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .", |
452e2f06 | 67 | "js-minify": "npm-run-all --aggregate-output --parallel js-minify-*", |
81042ff4 X |
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", | |
452e2f06 | 71 | "js-test": "npm-run-all --aggregate-output --parallel js-test-karma js-test-jquery js-test-integration-*", |
acd1b562 | 72 | "js-debug": "cross-env DEBUG=true npm run js-test-karma", |
68ca2946 | 73 | "js-test-karma": "karma start js/tests/karma.conf.js", |
81ac002a X |
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", | |
cad88abd | 76 | "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma", |
650a7a7b | 77 | "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma", |
452e2f06 | 78 | "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint", |
129bb08f | 79 | "docs": "npm-run-all docs-build docs-lint", |
142af240 X |
80 | "docs-build": "hugo --cleanDestinationDir", |
81 | "docs-compile": "npm run docs-build", | |
bce2b5e7 | 82 | "docs-vnu": "node build/vnu-jar.js", |
e1020a43 | 83 | "docs-lint": "npm run docs-vnu", |
678da2ea | 84 | "docs-serve": "hugo server --port 9001 --disableFastRender", |
977c366c | 85 | "docs-serve-only": "npx sirv-cli _site --port 9001", |
9d50c6a1 | 86 | "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", |
8cdb6c40 | 87 | "update-deps": "ncu -u -x globby,karma-browserstack-launcher && echo Manually update site/assets/js/vendor", |
df88748e | 88 | "release": "npm-run-all dist release-sri docs-build release-zip*", |
cdab56d9 | 89 | "release-sri": "node build/generate-sri.js", |
b4ac48fd | 90 | "release-version": "node build/change-version.js", |
c9ae98ee | 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\"", |
df88748e | 92 | "release-zip-examples": "node build/zip-examples.js", |
452e2f06 | 93 | "dist": "npm-run-all --aggregate-output --parallel css js", |
fda35d14 | 94 | "test": "npm-run-all lint dist js-test docs-build docs-lint", |
90f5dbae | 95 | "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build", |
6589408a | 96 | "watch": "npm-run-all --parallel watch-*", |
129bb08f | 97 | "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"", |
71ecc332 | 98 | "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"", |
129bb08f X |
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\"", | |
a28adc76 | 101 | "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\"" |
29aaf66a | 102 | }, |
b21fc944 | 103 | "peerDependencies": { |
17260410 | 104 | "@popperjs/core": "^2.11.2" |
b2bb83d8 | 105 | }, |
9a8e6195 | 106 | "devDependencies": { |
8f11c529 | 107 | "@babel/cli": "^7.17.0", |
42da2b95 | 108 | "@babel/core": "^7.17.2", |
1411181b | 109 | "@babel/preset-env": "^7.16.11", |
17260410 | 110 | "@popperjs/core": "^2.11.2", |
36cf9b47 | 111 | "@rollup/plugin-babel": "^5.3.0", |
5771fcc4 | 112 | "@rollup/plugin-commonjs": "^21.0.1", |
17260410 | 113 | "@rollup/plugin-node-resolve": "^13.1.3", |
42da2b95 | 114 | "@rollup/plugin-replace": "^3.1.0", |
17260410 | 115 | "autoprefixer": "^10.4.2", |
cd208341 | 116 | "bundlewatch": "^0.3.3", |
9d44b603 | 117 | "clean-css-cli": "^5.5.2", |
9a4692d4 | 118 | "cross-env": "^7.0.3", |
42da2b95 X |
119 | "eslint": "^8.9.0", |
120 | "eslint-config-xo": "^0.40.0", | |
0b57c440 | 121 | "eslint-plugin-import": "^2.25.4", |
cd208341 | 122 | "eslint-plugin-unicorn": "^40.1.0", |
dc095091 | 123 | "find-unused-sass-variables": "^4.0.1", |
9c1bc2f0 | 124 | "globby": "^11.0.4", |
caefd704 | 125 | "hammer-simulator": "0.0.1", |
42da2b95 | 126 | "hugo-bin": "^0.80.2", |
54d86e62 | 127 | "ip": "^1.1.5", |
902263ba | 128 | "jquery": "^3.6.0", |
42da2b95 | 129 | "karma": "^6.3.16", |
bcf69163 | 130 | "karma-browserstack-launcher": "1.4.0", |
a92d29a2 | 131 | "karma-chrome-launcher": "^3.1.0", |
2c12dfd1 | 132 | "karma-coverage-istanbul-reporter": "^3.0.3", |
f59c2d94 | 133 | "karma-detect-browsers": "^2.3.3", |
05f1b15d | 134 | "karma-firefox-launcher": "^2.1.2", |
a15083fe | 135 | "karma-jasmine": "^4.0.1", |
f50ce617 | 136 | "karma-jasmine-html-reporter": "^1.7.0", |
8f11c529 | 137 | "karma-rollup-preprocessor": "^7.0.8", |
785a2cd6 | 138 | "lockfile-lint": "^4.6.2", |
9c016332 | 139 | "nodemon": "^2.0.15", |
fdc5c1f4 | 140 | "npm-run-all": "^4.1.5", |
8f11c529 | 141 | "postcss": "^8.4.6", |
cd509428 | 142 | "postcss-cli": "^9.1.0", |
42da2b95 | 143 | "rollup": "^2.67.2", |
93a4c0fb | 144 | "rollup-plugin-istanbul": "^3.0.0", |
367caea5 | 145 | "rtlcss": "^3.5.0", |
8f11c529 | 146 | "sass": "^1.49.7", |
17260410 | 147 | "shelljs": "^0.8.5", |
9d44b603 | 148 | "stylelint": "14.2.0", |
33c7f9fe | 149 | "stylelint-config-twbs-bootstrap": "^3.0.1", |
9c016332 | 150 | "terser": "^5.10.0", |
99f6cf50 | 151 | "vnu-jar": "21.10.12" |
9a8e6195 | 152 | }, |
be9d1f43 | 153 | "files": [ |
5570f1c1 | 154 | "dist/{css,js}/*.{css,js,map}", |
dae20da7 | 155 | "js/{src,dist}/**/*.{js,map}", |
5570f1c1 | 156 | "scss/**/*.scss" |
be9d1f43 | 157 | ], |
129bb08f X |
158 | "hugo-bin": { |
159 | "buildTags": "extended" | |
160 | }, | |
9a8e6195 | 161 | "jspm": { |
c82110d0 | 162 | "registry": "npm", |
9a8e6195 | 163 | "main": "js/bootstrap", |
1ba4577c JD |
164 | "directories": { |
165 | "lib": "dist" | |
166 | }, | |
9a8e6195 MO |
167 | "shim": { |
168 | "js/bootstrap": { | |
fe0ad821 | 169 | "deps": [ |
adfdf716 | 170 | "@popperjs/core" |
83cea3ba | 171 | ] |
9a8e6195 MO |
172 | } |
173 | }, | |
f8223076 AW |
174 | "dependencies": {}, |
175 | "peerDependencies": { | |
17260410 | 176 | "@popperjs/core": "^2.11.2" |
1ba4577c | 177 | } |
ac6cfbba | 178 | } |
9726fded | 179 | } |