1 | {
|
2 | "name": "bootstrap",
|
3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
4 | "version": "4.5.0",
|
5 | "version_short": "4.5",
|
6 | "keywords": [
|
7 | "css",
|
8 | "sass",
|
9 | "mobile-first",
|
10 | "responsive",
|
11 | "front-end",
|
12 | "framework",
|
13 | "web"
|
14 | ],
|
15 | "homepage": "https://getbootstrap.com/",
|
16 | "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
|
17 | "contributors": [
|
18 | "Twitter, Inc."
|
19 | ],
|
20 | "scripts": {
|
21 | "start": "npm-run-all --parallel watch docs-serve",
|
22 | "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
|
23 | "css": "npm-run-all css-compile css-prefix css-minify css-copy",
|
24 | "css-copy": "cross-env-shell shx mkdir -p site/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/css/ site/docs/$npm_package_version_short/dist/",
|
25 | "css-main": "npm-run-all css-lint css-compile-main css-prefix-main css-minify-main css-copy",
|
26 | "css-docs": "npm-run-all css-compile-docs css-prefix-docs css-minify-docs",
|
27 | "css-compile": "npm-run-all --parallel css-compile-*",
|
28 | "css-compile-main": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/ && npm run css-copy",
|
29 | "css-compile-docs": "cross-env-shell node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 site/docs/$npm_package_version_short/assets/scss/docs.scss site/docs/$npm_package_version_short/assets/css/docs.min.css",
|
30 | "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
|
31 | "css-lint-main": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
|
32 | "css-lint-docs": "stylelint \"site/docs/**/assets/scss/*.scss\" \"site/docs/**/*.css\" --cache --cache-location .cache/.stylelintcache",
|
33 | "css-lint-vars": "fusv scss/ site/docs/",
|
34 | "css-minify": "npm-run-all --parallel css-minify-*",
|
35 | "css-minify-main": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
|
36 | "css-minify-docs": "cross-env-shell cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output site/docs/$npm_package_version_short/assets/css/docs.min.css site/docs/$npm_package_version_short/assets/css/docs.min.css",
|
37 | "css-prefix": "npm-run-all --parallel css-prefix-*",
|
38 | "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
|
39 | "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/docs/**/*.css\"",
|
40 | "js": "npm-run-all js-compile js-minify js-copy",
|
41 | "js-copy": "cross-env-shell shx mkdir -p site/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/js/ site/docs/$npm_package_version_short/dist/",
|
42 | "js-main": "npm-run-all js-lint js-compile js-minify-main",
|
43 | "js-docs": "npm-run-all js-lint-docs js-minify-docs",
|
44 | "js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy",
|
45 | "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
|
46 | "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
|
47 | "js-compile-plugins": "node build/build-plugins.js",
|
48 | "js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js",
|
49 | "js-lint": "npm-run-all --continue-on-error --parallel js-lint-*",
|
50 | "js-lint-main": "eslint --report-unused-disable-directives --cache --cache-location .cache/.eslintcache js/src js/tests build/",
|
51 | "js-lint-docs": "eslint --report-unused-disable-directives --cache --cache-location .cache/.eslintcache site/",
|
52 | "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs",
|
53 | "js-minify-main": "npm-run-all js-minify-standalone js-minify-bundle",
|
54 | "js-minify-standalone": "terser --compress typeofs=false --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",
|
55 | "js-minify-bundle": "terser --compress typeofs=false --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",
|
56 | "js-minify-docs": "cross-env-shell terser --mangle --comments \\\"/^!/\\\" --output site/docs/$npm_package_version_short/assets/js/docs.min.js site/docs/$npm_package_version_short/assets/js/vendor/anchor.min.js site/docs/$npm_package_version_short/assets/js/vendor/clipboard.min.js site/docs/$npm_package_version_short/assets/js/vendor/bs-custom-file-input.min.js \"site/docs/$npm_package_version_short/assets/js/src/*.js\"",
|
57 | "js-test": "npm-run-all js-test-karma* js-test-integration",
|
58 | "js-test-karma": "karma start js/tests/karma.conf.js",
|
59 | "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
|
60 | "js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma",
|
61 | "js-test-karma-bundle-old": "cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma",
|
62 | "js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js",
|
63 | "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
|
64 | "lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
|
65 | "docs": "npm-run-all css-docs js-docs docs-build docs-lint",
|
66 | "docs-build": "bundle exec jekyll build",
|
67 | "docs-compile": "npm run docs-build",
|
68 | "docs-production": "cross-env JEKYLL_ENV=production npm run docs-build",
|
69 | "docs-netlify": "cross-env JEKYLL_ENV=netlify npm run docs-build",
|
70 | "docs-linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"",
|
71 | "docs-vnu": "node build/vnu-jar.js",
|
72 | "docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
|
73 | "docs-serve": "bundle exec jekyll serve",
|
74 | "docs-serve-only": "npm run docs-serve -- --skip-initial-build --no-watch",
|
75 | "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
76 | "update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,popper.js,qunit,sinon\" && npm update && bundle update && cross-env-shell echo Manually update \\\"site/docs/$npm_package_version_short/assets/js/vendor/\\\"",
|
77 | "release": "npm-run-all dist release-sri docs-build release-zip*",
|
78 | "release-sri": "node build/generate-sri.js",
|
79 | "release-version": "node build/change-version.js",
|
80 | "release-zip": "cross-env-shell \"shx rm -rf bootstrap-$npm_package_version-dist && shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
|
81 | "release-zip-examples": "node build/zip-examples.js",
|
82 | "dist": "npm-run-all --parallel css js",
|
83 | "test": "npm-run-all lint dist js-test docs-build docs-lint",
|
84 | "netlify": "npm-run-all dist release-sri docs-netlify",
|
85 | "watch": "npm-run-all --parallel watch-*",
|
86 | "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
|
87 | "watch-css-docs": "nodemon --watch \"site/docs/**/assets/scss/\" --ext scss --exec \"npm run css-docs\"",
|
88 | "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm run js-compile\"",
|
89 | "watch-js-docs": "nodemon --watch \"site/docs/**/assets/js/src/\" --ext js --exec \"npm run js-docs\""
|
90 | },
|
91 | "style": "dist/css/bootstrap.css",
|
92 | "sass": "scss/bootstrap.scss",
|
93 | "main": "dist/js/bootstrap.js",
|
94 | "repository": {
|
95 | "type": "git",
|
96 | "url": "git+https://github.com/twbs/bootstrap.git"
|
97 | },
|
98 | "bugs": {
|
99 | "url": "https://github.com/twbs/bootstrap/issues"
|
100 | },
|
101 | "license": "MIT",
|
102 | "funding": {
|
103 | "type": "opencollective",
|
104 | "url": "https://opencollective.com/bootstrap"
|
105 | },
|
106 | "dependencies": {},
|
107 | "peerDependencies": {
|
108 | "jquery": "1.9.1 - 3",
|
109 | "popper.js": "^1.16.0"
|
110 | },
|
111 | "devDependencies": {
|
112 | "@babel/cli": "^7.8.4",
|
113 | "@babel/core": "^7.9.6",
|
114 | "@babel/plugin-proposal-object-rest-spread": "^7.9.6",
|
115 | "@babel/preset-env": "^7.9.6",
|
116 | "@rollup/plugin-commonjs": "^11.1.0",
|
117 | "@rollup/plugin-node-resolve": "^7.1.3",
|
118 | "autoprefixer": "^9.7.6",
|
119 | "babel-eslint": "^10.1.0",
|
120 | "babel-plugin-istanbul": "^6.0.0",
|
121 | "bundlewatch": "^0.2.7",
|
122 | "clean-css-cli": "^4.3.0",
|
123 | "cross-env": "^7.0.2",
|
124 | "eslint": "^7.0.0",
|
125 | "find-unused-sass-variables": "^2.0.0",
|
126 | "glob": "^7.1.6",
|
127 | "hammer-simulator": "0.0.1",
|
128 | "ip": "^1.1.5",
|
129 | "jquery": "^3.5.1",
|
130 | "karma": "^5.0.5",
|
131 | "karma-browserstack-launcher": "1.4.0",
|
132 | "karma-chrome-launcher": "^3.1.0",
|
133 | "karma-coverage-istanbul-reporter": "^3.0.2",
|
134 | "karma-detect-browsers": "^2.3.3",
|
135 | "karma-firefox-launcher": "^1.3.0",
|
136 | "karma-qunit": "^4.1.1",
|
137 | "karma-sinon": "^1.0.5",
|
138 | "linkinator": "^2.1.1",
|
139 | "lockfile-lint": "^4.2.2",
|
140 | "node-sass": "^4.14.1",
|
141 | "nodemon": "^2.0.3",
|
142 | "npm-run-all": "^4.1.5",
|
143 | "popper.js": "^1.16.0",
|
144 | "postcss-cli": "^7.1.1",
|
145 | "qunit": "2.9.2",
|
146 | "rollup": "^2.9.1",
|
147 | "rollup-plugin-babel": "^4.4.0",
|
148 | "shelljs": "^0.8.4",
|
149 | "shx": "^0.3.2",
|
150 | "sinon": "^7.5.0",
|
151 | "stylelint": "^13.3.3",
|
152 | "stylelint-config-twbs-bootstrap": "^2.0.2",
|
153 | "terser": "^4.6.13",
|
154 | "vnu-jar": "20.3.16"
|
155 | },
|
156 | "files": [
|
157 | "dist/{css,js}/*.{css,js,map}",
|
158 | "js/{src,dist}/**/*.{js,map}",
|
159 | "scss/**/*.scss"
|
160 | ],
|
161 | "jspm": {
|
162 | "registry": "npm",
|
163 | "main": "js/bootstrap",
|
164 | "directories": {
|
165 | "lib": "dist"
|
166 | },
|
167 | "shim": {
|
168 | "js/bootstrap": {
|
169 | "deps": [
|
170 | "jquery",
|
171 | "popper.js"
|
172 | ],
|
173 | "exports": "$"
|
174 | }
|
175 | },
|
176 | "dependencies": {},
|
177 | "peerDependencies": {
|
178 | "jquery": "1.9.1 - 3",
|
179 | "popper.js": "^1.16.0"
|
180 | }
|
181 | }
|
182 | }
|