UNPKG

9.61 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": "4.1.0",
5 "keywords": [
6 "css",
7 "sass",
8 "mobile-first",
9 "responsive",
10 "front-end",
11 "framework",
12 "web"
13 ],
14 "homepage": "https://getbootstrap.com/",
15 "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
16 "contributors": [
17 "Twitter, Inc."
18 ],
19 "scripts": {
20 "bundlesize": "bundlesize",
21 "css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*",
22 "css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify",
23 "css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs",
24 "css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css",
25 "css-compile-docs": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 assets/scss/docs.scss assets/css/docs.min.css",
26 "css-lint": "stylelint --syntax scss \"scss/**/*.scss\"",
27 "css-lint-docs": "stylelint --syntax scss \"assets/scss/*.scss\" && stylelint \"docs/**/*.css\"",
28 "css-lint-vars": "node build/lint-vars.js scss/ assets/scss/",
29 "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
30 "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"assets/css/docs.min.css\" \"docs/**/*.css\"",
31 "css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
32 "css-minify-docs": "cleancss --level 1 --source-map --source-map-inline-sources --output assets/css/docs.min.css assets/css/docs.min.css",
33 "js": "npm-run-all js-lint* js-compile js-minify",
34 "js-main": "npm-run-all js-lint js-compile js-minify",
35 "js-docs": "npm-run-all js-lint-docs js-minify-docs",
36 "js-lint": "eslint js/src js/tests build/",
37 "js-lint-docs": "eslint assets/js/ docs/ sw.js",
38 "js-compile": "npm-run-all --parallel js-compile-*",
39 "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
40 "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
41 "js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps",
42 "js-compile-plugins-coverage": "cross-env PLUGINS=true NODE_ENV=test babel js/src/ --out-dir js/coverage/dist/ --source-maps",
43 "js-minify": "npm-run-all --parallel js-minify-*",
44 "js-minify-standalone": "uglifyjs --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",
45 "js-minify-bundle": "uglifyjs --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",
46 "js-minify-docs": "uglifyjs --mangle --comments \"/^!/\" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js \"assets/js/src/*.js\"",
47 "js-test": "npm-run-all --parallel js-test-karma*",
48 "js-test-karma": "karma start js/tests/karma.conf.js",
49 "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
50 "js-test-karma-bundle": "cross-env karma start js/tests/karma-bundle.conf.js",
51 "js-test-karma-bundle-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma-bundle",
52 "js-test-cloud": "ruby -r webrick -e \"s = WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd, :Logger => WEBrick::Log.new('/dev/null'), :AccessLog => []); trap('INT') { s.shutdown }; s.start\" & node build/saucelabs-unit-test.js",
53 "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
54 "docs-compile": "bundle exec jekyll build",
55 "postdocs-compile": "npm run docs-workbox-precache",
56 "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
57 "docs-github-serve": "bundle exec jekyll serve --skip-initial-build --no-watch",
58 "docs-lint": "npm-run-all docs-lint-*",
59 "docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"",
60 "docs-lint-vnu-jar": "node build/vnu-jar.js",
61 "docs-serve": "bundle exec jekyll serve",
62 "docs-upload-preview": "build/upload-preview.sh",
63 "docs-workbox-precache": "node build/workbox.js",
64 "maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo \"Manually update assets/js/vendor/*, js/tests/vendor/* and .travis.yml\"",
65 "release-sri": "node build/generate-sri.js",
66 "release-version": "node build/change-version.js",
67 "release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
68 "dist": "npm-run-all --parallel css js",
69 "test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
70 "watch": "npm-run-all --parallel watch-css watch-js",
71 "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css\"",
72 "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\""
73 },
74 "style": "dist/css/bootstrap.css",
75 "sass": "scss/bootstrap.scss",
76 "main": "dist/js/bootstrap",
77 "repository": {
78 "type": "git",
79 "url": "git+https://github.com/twbs/bootstrap.git"
80 },
81 "bugs": {
82 "url": "https://github.com/twbs/bootstrap/issues"
83 },
84 "license": "MIT",
85 "dependencies": {},
86 "peerDependencies": {
87 "jquery": "1.9.1 - 3",
88 "popper.js": "^1.14.0"
89 },
90 "devDependencies": {
91 "@babel/cli": "7.0.0-beta.42",
92 "@babel/core": "7.0.0-beta.42",
93 "@babel/preset-env": "7.0.0-beta.42",
94 "autoprefixer": "^8.1.0",
95 "babel-eslint": "^8.2.2",
96 "babel-plugin-istanbul": "^4.1.5",
97 "babel-plugin-transform-es2015-modules-strip": "^0.1.1",
98 "bundlesize": "^0.16.0",
99 "clean-css-cli": "^4.1.11",
100 "cross-env": "^5.1.4",
101 "eslint": "^4.19.0",
102 "eslint-plugin-compat": "^2.2.0",
103 "glob": "^7.1.2",
104 "htmllint-cli": "^0.0.6",
105 "jsunitsaucelabs": "^1.3.0",
106 "karma": "^2.0.0",
107 "karma-chrome-launcher": "^2.2.0",
108 "karma-coverage-istanbul-reporter": "^1.4.2",
109 "karma-detect-browsers": "^2.2.6",
110 "karma-firefox-launcher": "^1.1.0",
111 "karma-qunit": "^1.2.1",
112 "karma-sinon": "^1.0.5",
113 "node-sass": "^4.7.2",
114 "nodemon": "^1.17.2",
115 "npm-run-all": "^4.1.2",
116 "popper.js": "^1.14.0",
117 "postcss-cli": "^5.0.0",
118 "qunitjs": "^2.4.1",
119 "rollup": "^0.57.1",
120 "rollup-plugin-babel": "4.0.0-beta.2",
121 "rollup-plugin-node-resolve": "^3.3.0",
122 "shelljs": "^0.8.1",
123 "shx": "^0.2.2",
124 "sinon": "^4.4.6",
125 "sri-toolbox": "^0.2.0",
126 "stylelint": "^9.1.3",
127 "stylelint-config-recommended-scss": "^3.1.0",
128 "stylelint-config-standard": "^18.2.0",
129 "stylelint-order": "^0.8.1",
130 "stylelint-scss": "^2.5.0",
131 "uglify-js": "^3.3.16",
132 "vnu-jar": "^17.11.1",
133 "workbox-build": "^3.0.0"
134 },
135 "engines": {
136 "node": ">=6"
137 },
138 "files": [
139 "dist/",
140 "js/{src,dist}/",
141 "scss/"
142 ],
143 "browserslist": [
144 "last 1 major version",
145 ">= 1%",
146 "Chrome >= 45",
147 "Firefox >= 38",
148 "Edge >= 12",
149 "Explorer >= 10",
150 "iOS >= 9",
151 "Safari >= 9",
152 "Android >= 4.4",
153 "Opera >= 30"
154 ],
155 "bundlesize": [
156 {
157 "path": "./dist/css/bootstrap-grid.css",
158 "maxSize": "5 kB"
159 },
160 {
161 "path": "./dist/css/bootstrap-grid.min.css",
162 "maxSize": "5 kB"
163 },
164 {
165 "path": "./dist/css/bootstrap-reboot.css",
166 "maxSize": "3 kB"
167 },
168 {
169 "path": "./dist/css/bootstrap-reboot.min.css",
170 "maxSize": "3 kB"
171 },
172 {
173 "path": "./dist/css/bootstrap.css",
174 "maxSize": "25 kB"
175 },
176 {
177 "path": "./dist/css/bootstrap.min.css",
178 "maxSize": "21 kB"
179 },
180 {
181 "path": "./dist/js/bootstrap.bundle.js",
182 "maxSize": "45 kB"
183 },
184 {
185 "path": "./dist/js/bootstrap.bundle.min.js",
186 "maxSize": "25 kB"
187 },
188 {
189 "path": "./dist/js/bootstrap.js",
190 "maxSize": "20 kB"
191 },
192 {
193 "path": "./dist/js/bootstrap.min.js",
194 "maxSize": "15 kB"
195 }
196 ],
197 "jspm": {
198 "registry": "npm",
199 "main": "js/bootstrap",
200 "directories": {
201 "lib": "dist"
202 },
203 "shim": {
204 "js/bootstrap": {
205 "deps": [
206 "jquery",
207 "popper.js"
208 ],
209 "exports": "$"
210 }
211 },
212 "dependencies": {},
213 "peerDependencies": {
214 "jquery": "1.9.1 - 3",
215 "popper.js": "^1.14.1"
216 }
217 }
218}