package.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. {
  2. "name": "bootstrap",
  3. "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
  4. "version": "4.6.2",
  5. "config": {
  6. "version_short": "4.6"
  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. "contributors": [
  20. "Twitter, Inc."
  21. ],
  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. "sass": "scss/bootstrap.scss",
  42. "style": "dist/css/bootstrap.css",
  43. "scripts": {
  44. "start": "npm-run-all --parallel watch docs-serve",
  45. "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
  46. "css": "npm-run-all css-compile css-prefix css-minify",
  47. "css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/",
  48. "css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
  49. "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
  50. "css-lint-vars": "fusv scss/ site/assets/scss/",
  51. "css-minify": "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\"",
  52. "css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
  53. "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
  54. "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
  55. "js": "npm-run-all js-compile js-minify",
  56. "js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
  57. "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
  58. "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
  59. "js-compile-plugins": "node build/build-plugins.js",
  60. "js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js",
  61. "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
  62. "js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
  63. "js-minify-standalone": "terser --compress passes=2,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",
  64. "js-minify-bundle": "terser --compress passes=2,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",
  65. "js-test": "npm-run-all --aggregate-output --parallel js-test-karma* --serial js-test-integration",
  66. "js-test-karma": "karma start js/tests/karma.conf.js",
  67. "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
  68. "js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma",
  69. "js-test-karma-bundle-old": "cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma",
  70. "js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js",
  71. "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
  72. "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
  73. "docs": "npm-run-all docs-build docs-lint",
  74. "docs-build": "hugo --cleanDestinationDir",
  75. "docs-compile": "npm run docs-build",
  76. "docs-vnu": "node build/vnu-jar.js",
  77. "docs-lint": "npm run docs-vnu",
  78. "docs-serve": "hugo server --port 9001 --disableFastRender",
  79. "docs-serve-only": "npx sirv-cli _site --port 9001",
  80. "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
  81. "update-deps": "ncu -u -x globby,jquery,karma-browserstack-launcher,sinon && echo Manually update site/assets/js/vendor",
  82. "release": "npm-run-all dist release-sri docs-build release-zip*",
  83. "release-sri": "node build/generate-sri.js",
  84. "release-version": "node build/change-version.js",
  85. "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\"",
  86. "release-zip-examples": "node build/zip-examples.js",
  87. "dist": "npm-run-all --aggregate-output --parallel css js",
  88. "test": "npm-run-all lint dist js-test docs-build docs-lint",
  89. "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
  90. "watch": "npm-run-all --parallel watch-*",
  91. "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
  92. "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
  93. "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
  94. "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
  95. },
  96. "peerDependencies": {
  97. "jquery": "1.9.1 - 3",
  98. "popper.js": "^1.16.1"
  99. },
  100. "devDependencies": {
  101. "@babel/cli": "^7.18.6",
  102. "@babel/core": "^7.18.6",
  103. "@babel/preset-env": "^7.18.6",
  104. "@rollup/plugin-babel": "^5.3.1",
  105. "@rollup/plugin-commonjs": "^22.0.1",
  106. "@rollup/plugin-node-resolve": "^13.3.0",
  107. "autoprefixer": "^10.4.7",
  108. "babel-plugin-istanbul": "^6.1.1",
  109. "bundlewatch": "^0.3.3",
  110. "clean-css-cli": "^5.6.0",
  111. "cross-env": "^7.0.3",
  112. "eslint": "^8.19.0",
  113. "eslint-config-xo": "^0.41.0",
  114. "eslint-plugin-import": "^2.26.0",
  115. "eslint-plugin-qunit": "^7.3.1",
  116. "eslint-plugin-unicorn": "^42.0.0",
  117. "find-unused-sass-variables": "^4.0.4",
  118. "globby": "^11.1.0",
  119. "hammer-simulator": "0.0.1",
  120. "hugo-bin": "^0.89.0",
  121. "ip": "^2.0.0",
  122. "jquery": "3.5.1",
  123. "karma": "^6.4.0",
  124. "karma-browserstack-launcher": "1.4.0",
  125. "karma-chrome-launcher": "^3.1.1",
  126. "karma-coverage-istanbul-reporter": "^3.0.3",
  127. "karma-detect-browsers": "^2.3.3",
  128. "karma-firefox-launcher": "^2.1.2",
  129. "karma-qunit": "^4.1.2",
  130. "karma-sinon": "^1.0.5",
  131. "lockfile-lint": "^4.7.6",
  132. "node-sass": "^7.0.1",
  133. "nodemon": "^2.0.19",
  134. "npm-run-all": "^4.1.5",
  135. "popper.js": "^1.16.1",
  136. "postcss": "^8.4.14",
  137. "postcss-cli": "^10.0.0",
  138. "qunit": "^2.19.1",
  139. "rollup": "^2.76.0",
  140. "shelljs": "^0.8.5",
  141. "sinon": "^7.5.0",
  142. "stylelint": "^14.9.1",
  143. "stylelint-config-twbs-bootstrap": "^4.0.0",
  144. "terser": "^5.14.1",
  145. "vnu-jar": "21.10.12"
  146. },
  147. "files": [
  148. "dist/{css,js}/*.{css,js,map}",
  149. "js/{src,dist}/**/*.{js,map}",
  150. "scss/**/*.scss"
  151. ],
  152. "hugo-bin": {
  153. "buildTags": "extended"
  154. },
  155. "jspm": {
  156. "registry": "npm",
  157. "main": "js/bootstrap",
  158. "directories": {
  159. "lib": "dist"
  160. },
  161. "shim": {
  162. "js/bootstrap": {
  163. "deps": [
  164. "jquery",
  165. "popper.js"
  166. ],
  167. "exports": "$"
  168. }
  169. },
  170. "dependencies": {},
  171. "peerDependencies": {
  172. "jquery": "1.9.1 - 3",
  173. "popper.js": "^1.16.1"
  174. }
  175. }
  176. }