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 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. {
  2. "name": "webpack",
  3. "version": "4.39.2",
  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": "^6.2.1",
  13. "ajv": "^6.10.2",
  14. "ajv-keywords": "^3.4.1",
  15. "chrome-trace-event": "^1.0.2",
  16. "enhanced-resolve": "^4.1.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.1",
  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.1",
  29. "watchpack": "^1.6.0",
  30. "webpack-sources": "^1.4.1"
  31. },
  32. "devDependencies": {
  33. "@types/node": "^10.12.21",
  34. "@types/tapable": "^1.0.1",
  35. "@types/webpack-sources": "^0.1.4",
  36. "@yarnpkg/lockfile": "^1.1.0",
  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": "^2.1.0",
  43. "es6-promise-polyfill": "^1.1.1",
  44. "eslint": "^5.8.0",
  45. "eslint-config-prettier": "^4.0.0",
  46. "eslint-plugin-jest": "^22.2.2",
  47. "eslint-plugin-jsdoc": "^15.3.2",
  48. "eslint-plugin-node": "^8.0.0",
  49. "eslint-plugin-prettier": "^3.0.0",
  50. "express": "~4.16.4",
  51. "file-loader": "^3.0.1",
  52. "glob": "^7.1.3",
  53. "husky": "^1.1.3",
  54. "i18n-webpack-plugin": "^1.0.0",
  55. "istanbul": "^0.4.5",
  56. "jest": "24.1.0",
  57. "jest-junit": "^6.2.1",
  58. "json-loader": "^0.5.7",
  59. "json-schema-to-typescript": "^6.0.1",
  60. "less": "^3.9.0",
  61. "less-loader": "^4.0.3",
  62. "lint-staged": "^8.0.4",
  63. "lodash": "^4.17.4",
  64. "prettier": "^1.14.3",
  65. "pug": "^2.0.4",
  66. "pug-loader": "^2.4.0",
  67. "raw-loader": "^1.0.0",
  68. "react": "^16.8.0",
  69. "react-dom": "^16.8.0",
  70. "rimraf": "^2.6.2",
  71. "script-loader": "~0.7.0",
  72. "simple-git": "^1.65.0",
  73. "strip-ansi": "^5.2.0",
  74. "style-loader": "^0.23.1",
  75. "typescript": "^3.0.0-rc",
  76. "url-loader": "^1.1.2",
  77. "val-loader": "^1.0.2",
  78. "vm-browserify": "~1.1.0",
  79. "wast-loader": "^1.5.5",
  80. "webpack-dev-middleware": "^3.5.1",
  81. "worker-loader": "^2.0.0",
  82. "xxhashjs": "^0.2.1"
  83. },
  84. "engines": {
  85. "node": ">=6.11.5"
  86. },
  87. "repository": {
  88. "type": "git",
  89. "url": "https://github.com/webpack/webpack.git"
  90. },
  91. "homepage": "https://github.com/webpack/webpack",
  92. "main": "lib/webpack.js",
  93. "web": "lib/webpack.web.js",
  94. "bin": "./bin/webpack.js",
  95. "files": [
  96. "lib/",
  97. "bin/",
  98. "buildin/",
  99. "declarations/",
  100. "hot/",
  101. "web_modules/",
  102. "schemas/",
  103. "SECURITY.md"
  104. ],
  105. "scripts": {
  106. "setup": "node ./setup/setup.js",
  107. "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
  108. "test:update-snapshots": "yarn jest -u",
  109. "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
  110. "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\"",
  111. "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
  112. "travis:integration": "yarn cover:integration --ci $JEST",
  113. "travis:basic": "yarn cover:basic --ci $JEST",
  114. "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
  115. "travis:benchmark": "yarn benchmark --ci",
  116. "appveyor:integration": "yarn cover:integration --ci %JEST%",
  117. "appveyor:unit": "yarn cover:unit --ci %JEST%",
  118. "appveyor:benchmark": "yarn benchmark --ci",
  119. "build:examples": "cd examples && node buildAll.js",
  120. "pretest": "yarn lint",
  121. "prelint": "yarn setup",
  122. "lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
  123. "code-lint": "eslint --cache \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
  124. "type-lint": "tsc --pretty",
  125. "special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
  126. "special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
  127. "fix": "yarn code-lint --fix && yarn special-lint-fix",
  128. "pretty": "prettier --loglevel warn --write \"*.{ts,js,json,yml,yaml}\" \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.{js,json}\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
  129. "jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
  130. "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
  131. "cover": "yarn cover:all && yarn cover:report",
  132. "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
  133. "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",
  134. "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
  135. "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
  136. "cover:report": "istanbul report"
  137. },
  138. "husky": {
  139. "hooks": {
  140. "pre-commit": "lint-staged"
  141. }
  142. },
  143. "lint-staged": {
  144. "*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
  145. "eslint --cache"
  146. ]
  147. },
  148. "jest": {
  149. "forceExit": true,
  150. "setupFilesAfterEnv": [
  151. "<rootDir>/test/setupTestFramework.js"
  152. ],
  153. "testMatch": [
  154. "<rootDir>/test/*.test.js",
  155. "<rootDir>/test/*.unittest.js"
  156. ],
  157. "watchPathIgnorePatterns": [
  158. "<rootDir>/.git",
  159. "<rootDir>/node_modules",
  160. "<rootDir>/test/js",
  161. "<rootDir>/test/browsertest/js",
  162. "<rootDir>/test/fixtures/temp-cache-fixture",
  163. "<rootDir>/test/fixtures/temp-",
  164. "<rootDir>/benchmark",
  165. "<rootDir>/examples/*/dist",
  166. "<rootDir>/coverage",
  167. "<rootDir>/.eslintcache"
  168. ],
  169. "modulePathIgnorePatterns": [
  170. "<rootDir>/.git",
  171. "<rootDir>/node_modules/webpack/node_modules",
  172. "<rootDir>/test/js",
  173. "<rootDir>/test/browsertest/js",
  174. "<rootDir>/test/fixtures/temp-cache-fixture",
  175. "<rootDir>/test/fixtures/temp-",
  176. "<rootDir>/benchmark",
  177. "<rootDir>/examples/*/dist",
  178. "<rootDir>/coverage",
  179. "<rootDir>/.eslintcache"
  180. ],
  181. "transformIgnorePatterns": [
  182. "<rootDir>"
  183. ],
  184. "coverageDirectory": "<rootDir>/coverage",
  185. "coveragePathIgnorePatterns": [
  186. "\\.runtime\\.js$",
  187. "<rootDir>/test",
  188. "<rootDir>/schemas",
  189. "<rootDir>/node_modules"
  190. ],
  191. "testEnvironment": "node",
  192. "coverageReporters": [
  193. "json"
  194. ]
  195. }
  196. }