package.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. {
  2. "name": "webpack",
  3. "version": "4.47.0",
  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.9.0",
  9. "@webassemblyjs/helper-module-context": "1.9.0",
  10. "@webassemblyjs/wasm-edit": "1.9.0",
  11. "@webassemblyjs/wasm-parser": "1.9.0",
  12. "acorn": "^6.4.1",
  13. "ajv": "^6.10.2",
  14. "ajv-keywords": "^3.4.1",
  15. "chrome-trace-event": "^1.0.2",
  16. "enhanced-resolve": "^4.5.0",
  17. "eslint-scope": "^4.0.3",
  18. "json-parse-better-errors": "^1.0.2",
  19. "loader-runner": "^2.4.0",
  20. "loader-utils": "^1.2.3",
  21. "memory-fs": "^0.4.1",
  22. "micromatch": "^3.1.10",
  23. "mkdirp": "^0.5.3",
  24. "neo-async": "^2.6.1",
  25. "node-libs-browser": "^2.2.1",
  26. "schema-utils": "^1.0.0",
  27. "tapable": "^1.1.3",
  28. "terser-webpack-plugin": "^1.4.3",
  29. "watchpack": "^1.7.4",
  30. "webpack-sources": "^1.4.1"
  31. },
  32. "peerDependenciesMeta": {
  33. "webpack-cli": {
  34. "optional": true
  35. },
  36. "webpack-command": {
  37. "optional": true
  38. }
  39. },
  40. "devDependencies": {
  41. "@babel/core": "^7.7.2",
  42. "@types/node": "^10.12.21",
  43. "@types/tapable": "^1.0.1",
  44. "@types/webpack-sources": "^0.1.4",
  45. "@yarnpkg/lockfile": "^1.1.0",
  46. "babel-loader": "^8.0.6",
  47. "benchmark": "^2.1.1",
  48. "bundle-loader": "~0.5.0",
  49. "coffee-loader": "^0.9.0",
  50. "coffeescript": "^2.3.2",
  51. "coveralls": "^3.0.2",
  52. "css-loader": "^2.1.0",
  53. "es6-promise-polyfill": "^1.1.1",
  54. "eslint": "^5.8.0",
  55. "eslint-config-prettier": "^4.0.0",
  56. "eslint-plugin-jest": "^22.2.2",
  57. "eslint-plugin-jsdoc": "^15.3.2",
  58. "eslint-plugin-node": "^8.0.0",
  59. "eslint-plugin-prettier": "^3.0.0",
  60. "express": "~4.16.4",
  61. "file-loader": "^3.0.1",
  62. "glob": "^7.1.3",
  63. "husky": "^1.1.3",
  64. "i18n-webpack-plugin": "^1.0.0",
  65. "istanbul": "^0.4.5",
  66. "jest": "^24.9.0",
  67. "jest-junit": "^8.0.0",
  68. "json-loader": "^0.5.7",
  69. "json-schema-to-typescript": "^6.0.1",
  70. "less": "^3.9.0",
  71. "less-loader": "^4.0.3",
  72. "lint-staged": "^8.0.4",
  73. "lodash": "^4.17.4",
  74. "prettier": "^1.14.3",
  75. "pug": "^2.0.4",
  76. "pug-loader": "^2.4.0",
  77. "raw-loader": "^1.0.0",
  78. "react": "^16.8.0",
  79. "react-dom": "^16.8.0",
  80. "rimraf": "^2.6.2",
  81. "script-loader": "~0.7.0",
  82. "simple-git": "^1.65.0",
  83. "strip-ansi": "^5.2.0",
  84. "style-loader": "^0.23.1",
  85. "typescript": "^3.0.0-rc",
  86. "url-loader": "^1.1.2",
  87. "val-loader": "^1.0.2",
  88. "vm-browserify": "~1.1.0",
  89. "wast-loader": "^1.5.5",
  90. "webpack-dev-middleware": "^3.5.1",
  91. "webassembly-feature": "1.3.0",
  92. "worker-loader": "^2.0.0",
  93. "xxhashjs": "^0.2.1"
  94. },
  95. "engines": {
  96. "node": ">=6.11.5"
  97. },
  98. "repository": {
  99. "type": "git",
  100. "url": "https://github.com/webpack/webpack.git"
  101. },
  102. "funding": {
  103. "type": "opencollective",
  104. "url": "https://opencollective.com/webpack"
  105. },
  106. "homepage": "https://github.com/webpack/webpack",
  107. "main": "lib/webpack.js",
  108. "web": "lib/webpack.web.js",
  109. "bin": "./bin/webpack.js",
  110. "files": [
  111. "lib/",
  112. "bin/",
  113. "buildin/",
  114. "declarations/",
  115. "hot/",
  116. "web_modules/",
  117. "schemas/",
  118. "SECURITY.md"
  119. ],
  120. "scripts": {
  121. "setup": "node ./setup/setup.js",
  122. "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
  123. "test:update-snapshots": "yarn jest -u",
  124. "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
  125. "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\"",
  126. "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
  127. "travis:integration": "yarn cover:integration --ci $JEST",
  128. "travis:basic": "yarn cover:basic --ci $JEST",
  129. "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
  130. "travis:benchmark": "yarn benchmark --ci",
  131. "appveyor:integration": "yarn cover:integration --ci %JEST%",
  132. "appveyor:unit": "yarn cover:unit --ci %JEST%",
  133. "appveyor:benchmark": "yarn benchmark --ci",
  134. "build:examples": "cd examples && node buildAll.js",
  135. "pretest": "yarn lint",
  136. "prelint": "yarn setup",
  137. "lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
  138. "code-lint": "eslint . --ext '.js' --cache",
  139. "type-lint": "tsc --pretty",
  140. "special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
  141. "special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
  142. "fix": "yarn code-lint --fix && yarn special-lint-fix",
  143. "pretty": "prettier --loglevel warn --write \"*.{ts,js,json,yml,yaml}\" \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.{js,json}\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
  144. "jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
  145. "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
  146. "cover": "yarn cover:all && yarn cover:report",
  147. "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
  148. "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",
  149. "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
  150. "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
  151. "cover:report": "istanbul report"
  152. },
  153. "husky": {
  154. "hooks": {
  155. "pre-commit": "lint-staged"
  156. }
  157. },
  158. "lint-staged": {
  159. "*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
  160. "eslint --cache"
  161. ]
  162. },
  163. "jest": {
  164. "forceExit": true,
  165. "setupFilesAfterEnv": [
  166. "<rootDir>/test/setupTestFramework.js"
  167. ],
  168. "testMatch": [
  169. "<rootDir>/test/*.test.js",
  170. "<rootDir>/test/*.unittest.js"
  171. ],
  172. "watchPathIgnorePatterns": [
  173. "<rootDir>/.git",
  174. "<rootDir>/node_modules",
  175. "<rootDir>/test/js",
  176. "<rootDir>/test/browsertest/js",
  177. "<rootDir>/test/fixtures/temp-cache-fixture",
  178. "<rootDir>/test/fixtures/temp-",
  179. "<rootDir>/benchmark",
  180. "<rootDir>/examples/*/dist",
  181. "<rootDir>/coverage",
  182. "<rootDir>/.eslintcache"
  183. ],
  184. "modulePathIgnorePatterns": [
  185. "<rootDir>/.git",
  186. "<rootDir>/node_modules/webpack/node_modules",
  187. "<rootDir>/test/js",
  188. "<rootDir>/test/browsertest/js",
  189. "<rootDir>/test/fixtures/temp-cache-fixture",
  190. "<rootDir>/test/fixtures/temp-",
  191. "<rootDir>/benchmark",
  192. "<rootDir>/examples/*/dist",
  193. "<rootDir>/coverage",
  194. "<rootDir>/.eslintcache"
  195. ],
  196. "transformIgnorePatterns": [
  197. "<rootDir>"
  198. ],
  199. "coverageDirectory": "<rootDir>/coverage",
  200. "coveragePathIgnorePatterns": [
  201. "\\.runtime\\.js$",
  202. "<rootDir>/test",
  203. "<rootDir>/schemas",
  204. "<rootDir>/node_modules"
  205. ],
  206. "testEnvironment": "node",
  207. "coverageReporters": [
  208. "json"
  209. ]
  210. }
  211. }