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.

206 lines
7.8KB

  1. {
  2. "name": "webpack",
  3. "version": "5.0.0-beta.9",
  4. "author": "Tobias Koppers @sokra",
  5. "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.",
  6. "license": "MIT",
  7. "dependencies": {
  8. "@webassemblyjs/ast": "1.8.5",
  9. "@webassemblyjs/helper-module-context": "1.8.5",
  10. "@webassemblyjs/wasm-edit": "1.8.5",
  11. "@webassemblyjs/wasm-parser": "1.8.5",
  12. "acorn": "^7.0.0",
  13. "chrome-trace-event": "^1.0.2",
  14. "enhanced-resolve": "5.0.0-beta.4",
  15. "eslint-scope": "^5.0.0",
  16. "events": "^3.0.0",
  17. "glob-to-regexp": "^0.4.1",
  18. "graceful-fs": "^4.1.15",
  19. "json-parse-better-errors": "^1.0.2",
  20. "loader-runner": "^3.1.0",
  21. "loader-utils": "^1.2.3",
  22. "mime": "^2.4.4",
  23. "neo-async": "^2.6.1",
  24. "pkg-dir": "^4.2.0",
  25. "schema-utils": "^2.5.0",
  26. "tapable": "2.0.0-beta.8",
  27. "terser-webpack-plugin": "^2.2.1",
  28. "watchpack": "2.0.0-beta.10",
  29. "webpack-sources": "2.0.0-beta.8"
  30. },
  31. "devDependencies": {
  32. "@babel/core": "^7.7.2",
  33. "@types/estree": "0.0.39",
  34. "@types/node": "^12.6.9",
  35. "@yarnpkg/lockfile": "^1.1.0",
  36. "babel-loader": "^8.0.6",
  37. "benchmark": "^2.1.1",
  38. "bundle-loader": "~0.5.0",
  39. "coffee-loader": "^0.9.0",
  40. "coffeescript": "^2.3.2",
  41. "coveralls": "^3.0.2",
  42. "css-loader": "^3.2.0",
  43. "es6-promise-polyfill": "^1.1.1",
  44. "eslint": "^6.1.0",
  45. "eslint-config-prettier": "^6.0.0",
  46. "eslint-plugin-jest": "^22.2.2",
  47. "eslint-plugin-jsdoc": "^15.3.2",
  48. "eslint-plugin-node": "^10.0.0",
  49. "eslint-plugin-prettier": "^3.1.0",
  50. "file-loader": "^4.1.0",
  51. "fork-ts-checker-webpack-plugin": "^1.5.0",
  52. "glob": "^7.1.3",
  53. "husky": "^3.0.2",
  54. "istanbul": "^0.4.5",
  55. "jest": "^24.9.0",
  56. "jest-junit": "^8.0.0",
  57. "json-loader": "^0.5.7",
  58. "json-schema-to-typescript": "^7.0.0",
  59. "json5": "^2.1.1",
  60. "less": "^3.9.0",
  61. "less-loader": "^5.0.0",
  62. "lint-staged": "^9.2.1",
  63. "lodash": "^4.17.4",
  64. "memory-fs": "~0.5.0",
  65. "mini-css-extract-plugin": "^0.8.0",
  66. "mini-svg-data-uri": "^1.1.3",
  67. "mkdirp": "^0.5.1",
  68. "open-cli": "^5.0.0",
  69. "prettier": "^1.14.3",
  70. "pretty-format": "^24.8.0",
  71. "pug": "^2.0.4",
  72. "pug-loader": "^2.4.0",
  73. "raw-loader": "^3.1.0",
  74. "react": "^16.8.0",
  75. "react-dom": "^16.8.0",
  76. "rimraf": "^3.0.0",
  77. "script-loader": "~0.7.0",
  78. "simple-git": "^1.65.0",
  79. "strip-ansi": "^5.2.0",
  80. "style-loader": "^1.0.0",
  81. "toml": "^3.0.0",
  82. "ts-loader": "^6.0.4",
  83. "typescript": "^3.6.4",
  84. "url-loader": "^2.1.0",
  85. "wast-loader": "^1.5.5",
  86. "worker-loader": "^2.0.0",
  87. "xxhashjs": "^0.2.1",
  88. "yamljs": "^0.3.0"
  89. },
  90. "engines": {
  91. "node": ">=10.13.0"
  92. },
  93. "repository": {
  94. "type": "git",
  95. "url": "https://github.com/webpack/webpack.git"
  96. },
  97. "funding": {
  98. "type": "opencollective",
  99. "url": "https://opencollective.com/webpack"
  100. },
  101. "homepage": "https://github.com/webpack/webpack",
  102. "main": "lib/index.js",
  103. "bin": "./bin/webpack.js",
  104. "files": [
  105. "lib/",
  106. "bin/",
  107. "declarations/",
  108. "hot/",
  109. "schemas/",
  110. "SECURITY.md"
  111. ],
  112. "scripts": {
  113. "setup": "node ./setup/setup.js",
  114. "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
  115. "test:update-snapshots": "yarn jest -u",
  116. "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
  117. "test:basic": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/te{st/TestCasesNormal,st/StatsTestCases,st/ConfigTestCases}.test.js\"",
  118. "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
  119. "travis:integration": "yarn cover:integration --ci $JEST",
  120. "travis:basic": "yarn cover:basic --ci $JEST",
  121. "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
  122. "travis:benchmark": "yarn benchmark --ci",
  123. "appveyor:integration": "yarn cover:integration --ci %JEST%",
  124. "appveyor:unit": "yarn cover:unit --ci %JEST%",
  125. "appveyor:benchmark": "yarn benchmark --ci",
  126. "build:examples": "cd examples && node buildAll.js",
  127. "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
  128. "pretest": "yarn lint",
  129. "prelint": "yarn setup",
  130. "lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
  131. "code-lint": "eslint . --ext '.js' --cache",
  132. "type-lint": "tsc --pretty",
  133. "special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/format-file-header && node tooling/compile-to-definitions",
  134. "special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/format-file-header --write && node tooling/compile-to-definitions --write",
  135. "fix": "yarn code-lint --fix && yarn special-lint-fix",
  136. "pretty": "prettier --loglevel warn --write \"*.{ts,js,json,yml,yaml}\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.{js,json}\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
  137. "jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
  138. "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
  139. "cover": "yarn cover:all && yarn cover:report",
  140. "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
  141. "cover:basic": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/te{st/TestCasesNormal,st/StatsTestCases,st/ConfigTestCases}.test.js\" --coverage",
  142. "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
  143. "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
  144. "cover:types": "node tooling/type-coverage.js",
  145. "cover:report": "istanbul report"
  146. },
  147. "husky": {
  148. "hooks": {
  149. "pre-commit": "lint-staged"
  150. }
  151. },
  152. "lint-staged": {
  153. "*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
  154. "eslint --cache"
  155. ]
  156. },
  157. "jest": {
  158. "forceExit": true,
  159. "setupFilesAfterEnv": [
  160. "<rootDir>/test/setupTestFramework.js"
  161. ],
  162. "testMatch": [
  163. "<rootDir>/test/*.test.js",
  164. "<rootDir>/test/*.unittest.js"
  165. ],
  166. "watchPathIgnorePatterns": [
  167. "<rootDir>/.git",
  168. "<rootDir>/node_modules",
  169. "<rootDir>/test/js",
  170. "<rootDir>/test/browsertest/js",
  171. "<rootDir>/test/fixtures/temp-cache-fixture",
  172. "<rootDir>/test/fixtures/temp-",
  173. "<rootDir>/benchmark",
  174. "<rootDir>/examples/*/dist",
  175. "<rootDir>/coverage",
  176. "<rootDir>/.eslintcache"
  177. ],
  178. "modulePathIgnorePatterns": [
  179. "<rootDir>/.git",
  180. "<rootDir>/node_modules/webpack/node_modules",
  181. "<rootDir>/test/js",
  182. "<rootDir>/test/browsertest/js",
  183. "<rootDir>/test/fixtures/temp-cache-fixture",
  184. "<rootDir>/test/fixtures/temp-",
  185. "<rootDir>/benchmark",
  186. "<rootDir>/examples/*/dist",
  187. "<rootDir>/coverage",
  188. "<rootDir>/.eslintcache"
  189. ],
  190. "transformIgnorePatterns": [
  191. "<rootDir>"
  192. ],
  193. "coverageDirectory": "<rootDir>/coverage",
  194. "coveragePathIgnorePatterns": [
  195. "\\.runtime\\.js$",
  196. "<rootDir>/test",
  197. "<rootDir>/schemas",
  198. "<rootDir>/node_modules"
  199. ],
  200. "testEnvironment": "node",
  201. "coverageReporters": [
  202. "json"
  203. ]
  204. }
  205. }