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.

179 lines
9.2 KiB

  1. {
  2. "name": "bootstrap",
  3. "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
  4. "version": "5.1.3",
  5. "config": {
  6. "version_short": "5.1"
  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. "scripts": {
  23. "start": "npm-run-all --parallel watch docs-serve",
  24. "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
  25. "css": "npm-run-all css-compile css-prefix css-rtl css-minify",
  26. "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
  27. "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\"",
  28. "css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
  29. "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
  30. "css-lint-vars": "fusv scss/ site/assets/scss/",
  31. "css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
  32. "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\"",
  33. "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\"",
  34. "css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
  35. "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
  36. "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
  37. "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\"",
  38. "js": "npm-run-all js-compile js-minify",
  39. "js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
  40. "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
  41. "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
  42. "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
  43. "js-compile-plugins": "node build/build-plugins.js",
  44. "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
  45. "js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
  46. "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",
  47. "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",
  48. "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",
  49. "js-test": "npm-run-all --aggregate-output --parallel js-test-karma js-test-jquery js-test-integration-*",
  50. "js-debug": "cross-env DEBUG=true npm run js-test-karma",
  51. "js-test-karma": "karma start js/tests/karma.conf.js",
  52. "js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
  53. "js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
  54. "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
  55. "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
  56. "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
  57. "docs": "npm-run-all docs-build docs-lint",
  58. "docs-build": "hugo --cleanDestinationDir",
  59. "docs-compile": "npm run docs-build",
  60. "docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
  61. "docs-spellcheck": "cspell \"site/**/*.md\" --no-progress",
  62. "docs-vnu": "node build/vnu-jar.js",
  63. "docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck",
  64. "docs-serve": "hugo server --port 9001 --disableFastRender",
  65. "docs-serve-only": "npx sirv-cli _site --port 9001",
  66. "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
  67. "update-deps": "ncu -u -x globby,karma-browserstack-launcher && npm update && echo Manually update site/assets/js/vendor",
  68. "release": "npm-run-all dist release-sri docs-build release-zip*",
  69. "release-sri": "node build/generate-sri.js",
  70. "release-version": "node build/change-version.js",
  71. "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\"",
  72. "release-zip-examples": "node build/zip-examples.js",
  73. "dist": "npm-run-all --aggregate-output --parallel css js",
  74. "test": "npm-run-all lint dist js-test docs-build docs-lint",
  75. "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
  76. "watch": "npm-run-all --parallel watch-*",
  77. "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
  78. "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
  79. "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
  80. "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
  81. "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
  82. },
  83. "style": "dist/css/bootstrap.css",
  84. "sass": "scss/bootstrap.scss",
  85. "main": "dist/js/bootstrap.js",
  86. "module": "dist/js/bootstrap.esm.js",
  87. "repository": {
  88. "type": "git",
  89. "url": "git+https://github.com/twbs/bootstrap.git"
  90. },
  91. "bugs": {
  92. "url": "https://github.com/twbs/bootstrap/issues"
  93. },
  94. "license": "MIT",
  95. "funding": {
  96. "type": "opencollective",
  97. "url": "https://opencollective.com/bootstrap"
  98. },
  99. "dependencies": {},
  100. "peerDependencies": {
  101. "@popperjs/core": "^2.10.2"
  102. },
  103. "devDependencies": {
  104. "@babel/cli": "^7.15.7",
  105. "@babel/core": "^7.15.5",
  106. "@babel/preset-env": "^7.15.6",
  107. "@popperjs/core": "^2.10.2",
  108. "@rollup/plugin-babel": "^5.3.0",
  109. "@rollup/plugin-commonjs": "^21.0.0",
  110. "@rollup/plugin-node-resolve": "^13.0.5",
  111. "@rollup/plugin-replace": "^3.0.0",
  112. "autoprefixer": "^10.3.6",
  113. "bundlewatch": "^0.3.2",
  114. "clean-css-cli": "^5.4.1",
  115. "cross-env": "^7.0.3",
  116. "cspell": "^5.12.0",
  117. "eslint": "^7.32.0",
  118. "eslint-config-xo": "^0.39.0",
  119. "eslint-plugin-import": "^2.24.2",
  120. "eslint-plugin-unicorn": "^36.0.0",
  121. "find-unused-sass-variables": "^3.1.0",
  122. "glob": "^7.2.0",
  123. "globby": "^11.0.4",
  124. "hammer-simulator": "0.0.1",
  125. "hugo-bin": "^0.76.1",
  126. "ip": "^1.1.5",
  127. "jquery": "^3.6.0",
  128. "karma": "^6.3.4",
  129. "karma-browserstack-launcher": "1.4.0",
  130. "karma-chrome-launcher": "^3.1.0",
  131. "karma-coverage-istanbul-reporter": "^3.0.3",
  132. "karma-detect-browsers": "^2.3.3",
  133. "karma-firefox-launcher": "^2.1.1",
  134. "karma-jasmine": "^4.0.1",
  135. "karma-jasmine-html-reporter": "^1.7.0",
  136. "karma-rollup-preprocessor": "^7.0.7",
  137. "linkinator": "^2.14.0",
  138. "lockfile-lint": "^4.6.2",
  139. "nodemon": "^2.0.13",
  140. "npm-run-all": "^4.1.5",
  141. "postcss": "^8.3.8",
  142. "postcss-cli": "^9.0.1",
  143. "rollup": "^2.58.0",
  144. "rollup-plugin-istanbul": "^3.0.0",
  145. "rtlcss": "^3.3.0",
  146. "sass": "^1.42.1",
  147. "shelljs": "^0.8.4",
  148. "stylelint": "^13.13.1",
  149. "stylelint-config-twbs-bootstrap": "^2.2.4",
  150. "terser": "^5.9.0",
  151. "vnu-jar": "21.9.2"
  152. },
  153. "files": [
  154. "dist/{css,js}/*.{css,js,map}",
  155. "js/{src,dist}/**/*.{js,map}",
  156. "scss/**/*.scss"
  157. ],
  158. "hugo-bin": {
  159. "buildTags": "extended"
  160. },
  161. "jspm": {
  162. "registry": "npm",
  163. "main": "js/bootstrap",
  164. "directories": {
  165. "lib": "dist"
  166. },
  167. "shim": {
  168. "js/bootstrap": {
  169. "deps": [
  170. "@popperjs/core"
  171. ]
  172. }
  173. },
  174. "dependencies": {},
  175. "peerDependencies": {
  176. "@popperjs/core": "^2.10.2"
  177. }
  178. }
  179. }