You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. {
  2. "name": "bootstrap",
  3. "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
  4. "version": "4.3.1",
  5. "version_short": "4.3",
  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. "blc": "blc --exclude-external --filter-level 3 --follow --get --ordered --recursive --host-requests 4 --input http://localhost:3000/",
  23. "http-server": "http-server --silent -p 3000",
  24. "bundlesize": "bundlesize",
  25. "check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc",
  26. "css": "npm-run-all css-compile css-prefix css-minify css-copy",
  27. "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/",
  28. "css-main": "npm-run-all css-lint css-compile-main css-prefix-main css-minify-main css-copy",
  29. "css-docs": "npm-run-all css-compile-docs css-prefix-docs css-minify-docs",
  30. "css-compile": "npm-run-all --parallel css-compile-*",
  31. "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",
  32. "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",
  33. "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
  34. "css-lint-main": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
  35. "css-lint-docs": "stylelint \"site/docs/**/assets/scss/*.scss\" \"site/docs/**/*.css\" --cache --cache-location .cache/.stylelintcache",
  36. "css-lint-vars": "fusv scss/ site/docs/",
  37. "css-minify": "npm-run-all --parallel css-minify-*",
  38. "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",
  39. "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",
  40. "css-prefix": "npm-run-all --parallel css-prefix-*",
  41. "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
  42. "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/docs/**/*.css\"",
  43. "js": "npm-run-all js-compile js-minify js-copy",
  44. "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/",
  45. "js-main": "npm-run-all js-lint js-compile js-minify-main",
  46. "js-docs": "npm-run-all js-lint-docs js-minify-docs",
  47. "js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy",
  48. "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
  49. "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
  50. "js-compile-plugins": "node build/build-plugins.js",
  51. "js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js",
  52. "js-lint": "npm-run-all --continue-on-error --parallel js-lint-*",
  53. "js-lint-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/",
  54. "js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/",
  55. "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs",
  56. "js-minify-main": "npm-run-all js-minify-standalone js-minify-bundle",
  57. "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",
  58. "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",
  59. "js-minify-docs": "cross-env-shell uglifyjs --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\"",
  60. "js-test": "npm-run-all js-test-karma* js-test-integration",
  61. "js-test-karma": "karma start js/tests/karma.conf.js",
  62. "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
  63. "js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma",
  64. "js-test-karma-bundle-old": "cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma",
  65. "js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js",
  66. "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
  67. "lint": "npm-run-all --parallel js-lint css-lint",
  68. "coveralls": "shx cat js/coverage/lcov.info | coveralls",
  69. "docs": "npm-run-all css-docs js-docs docs-compile docs-lint",
  70. "docs-compile": "bundle exec jekyll build",
  71. "docs-production": "cross-env JEKYLL_ENV=production npm run docs-compile",
  72. "docs-netlify": "cross-env JEKYLL_ENV=netlify npm run docs-compile",
  73. "docs-lint": "node build/vnu-jar.js",
  74. "docs-serve": "bundle exec jekyll serve",
  75. "docs-serve-only": "npm run docs-serve -- --skip-initial-build --no-watch",
  76. "update-deps": "ncu -a -x \"eslint,karma,karma-browserstack-launcher,karma-qunit,stylelint\" && 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 release-zip docs-production",
  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. "dist": "npm-run-all --parallel css js",
  82. "test": "npm-run-all lint dist js-test docs-compile docs-lint",
  83. "netlify": "npm-run-all dist release-sri docs-netlify",
  84. "watch": "npm-run-all --parallel watch-*",
  85. "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
  86. "watch-css-docs": "nodemon --watch \"site/docs/**/assets/scss/\" --ext scss --exec \"npm run css-docs\"",
  87. "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm run js-compile\"",
  88. "watch-js-docs": "nodemon --watch \"site/docs/**/assets/js/src/\" --ext js --exec \"npm run js-docs\""
  89. },
  90. "style": "dist/css/bootstrap.css",
  91. "sass": "scss/bootstrap.scss",
  92. "main": "dist/js/bootstrap",
  93. "repository": {
  94. "type": "git",
  95. "url": "git+https://github.com/twbs/bootstrap.git"
  96. },
  97. "bugs": {
  98. "url": "https://github.com/twbs/bootstrap/issues"
  99. },
  100. "license": "MIT",
  101. "dependencies": {},
  102. "peerDependencies": {
  103. "jquery": "1.9.1 - 3",
  104. "popper.js": "^1.15.0"
  105. },
  106. "devDependencies": {
  107. "@babel/cli": "^7.5.5",
  108. "@babel/core": "^7.5.5",
  109. "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
  110. "@babel/preset-env": "^7.5.5",
  111. "autoprefixer": "^9.6.1",
  112. "babel-eslint": "^10.0.3",
  113. "babel-plugin-istanbul": "^5.2.0",
  114. "broken-link-checker": "^0.7.8",
  115. "bundlesize": "^0.18.0",
  116. "clean-css-cli": "^4.3.0",
  117. "coveralls": "^3.0.6",
  118. "cross-env": "^5.2.0",
  119. "eslint": "^5.16.0",
  120. "find-unused-sass-variables": "^0.5.0",
  121. "glob": "^7.1.4",
  122. "hammer-simulator": "0.0.1",
  123. "http-server": "^0.11.1",
  124. "ip": "^1.1.5",
  125. "jquery": "^3.4.1",
  126. "karma": "^3.1.4",
  127. "karma-browserstack-launcher": "1.4.0",
  128. "karma-chrome-launcher": "^3.1.0",
  129. "karma-coverage-istanbul-reporter": "^2.1.0",
  130. "karma-detect-browsers": "^2.3.3",
  131. "karma-firefox-launcher": "^1.2.0",
  132. "karma-qunit": "^3.1.3",
  133. "karma-sinon": "^1.0.5",
  134. "node-sass": "^4.12.0",
  135. "nodemon": "^1.19.1",
  136. "npm-run-all": "^4.1.5",
  137. "popper.js": "^1.15.0",
  138. "postcss-cli": "^6.1.3",
  139. "qunit": "^2.9.2",
  140. "rollup": "^1.20.2",
  141. "rollup-plugin-babel": "^4.3.3",
  142. "rollup-plugin-commonjs": "^10.0.2",
  143. "rollup-plugin-node-resolve": "^5.2.0",
  144. "shelljs": "^0.8.3",
  145. "shx": "^0.3.2",
  146. "sinon": "^7.4.1",
  147. "stylelint": "^9.10.1",
  148. "stylelint-config-twbs-bootstrap": "^0.4.0",
  149. "uglify-js": "^3.6.0",
  150. "vnu-jar": "19.6.7"
  151. },
  152. "engines": {
  153. "node": ">=6"
  154. },
  155. "files": [
  156. "dist/{css,js}/*.{css,js,map}",
  157. "js/{src,dist}/**/*.{js,map}",
  158. "scss/**/*.scss"
  159. ],
  160. "jspm": {
  161. "registry": "npm",
  162. "main": "js/bootstrap",
  163. "directories": {
  164. "lib": "dist"
  165. },
  166. "shim": {
  167. "js/bootstrap": {
  168. "deps": [
  169. "jquery",
  170. "popper.js"
  171. ],
  172. "exports": "$"
  173. }
  174. },
  175. "dependencies": {},
  176. "peerDependencies": {
  177. "jquery": "1.9.1 - 3",
  178. "popper.js": "^1.15.0"
  179. }
  180. }
  181. }