package.json 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. {
  2. "name": "webpack",
  3. "version": "4.28.4",
  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.7.11",
  9. "@webassemblyjs/helper-module-context": "1.7.11",
  10. "@webassemblyjs/wasm-edit": "1.7.11",
  11. "@webassemblyjs/wasm-parser": "1.7.11",
  12. "acorn": "^5.6.2",
  13. "acorn-dynamic-import": "^3.0.0",
  14. "ajv": "^6.1.0",
  15. "ajv-keywords": "^3.1.0",
  16. "chrome-trace-event": "^1.0.0",
  17. "enhanced-resolve": "^4.1.0",
  18. "eslint-scope": "^4.0.0",
  19. "json-parse-better-errors": "^1.0.2",
  20. "loader-runner": "^2.3.0",
  21. "loader-utils": "^1.1.0",
  22. "memory-fs": "~0.4.1",
  23. "micromatch": "^3.1.8",
  24. "mkdirp": "~0.5.0",
  25. "neo-async": "^2.5.0",
  26. "node-libs-browser": "^2.0.0",
  27. "schema-utils": "^0.4.4",
  28. "tapable": "^1.1.0",
  29. "terser-webpack-plugin": "^1.1.0",
  30. "watchpack": "^1.5.0",
  31. "webpack-sources": "^1.3.0"
  32. },
  33. "devDependencies": {
  34. "@types/node": "^9.6.4",
  35. "@types/tapable": "^1.0.1",
  36. "@types/webpack-sources": "^0.1.4",
  37. "benchmark": "^2.1.1",
  38. "bundle-loader": "~0.5.0",
  39. "codacy-coverage": "^2.0.1",
  40. "coffee-loader": "^0.9.0",
  41. "coffeescript": "^1.10.0",
  42. "coveralls": "^3.0.2",
  43. "css-loader": "^0.28.3",
  44. "es6-promise-polyfill": "^1.1.1",
  45. "eslint": "^5.8.0",
  46. "eslint-config-prettier": "^3.1.0",
  47. "eslint-plugin-jest": "^21.26.2",
  48. "eslint-plugin-node": "^8.0.0",
  49. "eslint-plugin-prettier": "^3.0.0",
  50. "express": "~4.13.1",
  51. "file-loader": "^1.1.6",
  52. "glob": "^7.1.3",
  53. "husky": "^1.1.3",
  54. "i18n-webpack-plugin": "^1.0.0",
  55. "istanbul": "^0.4.5",
  56. "jade": "^1.11.0",
  57. "jade-loader": "~0.8.0",
  58. "jest": "24.0.0-alpha.1",
  59. "jest-junit": "^5.2.0",
  60. "json-loader": "^0.5.7",
  61. "json-schema-to-typescript": "^6.0.1",
  62. "less": "^2.5.1",
  63. "less-loader": "^4.0.3",
  64. "lint-staged": "^8.0.4",
  65. "lodash": "^4.17.4",
  66. "prettier": "^1.14.3",
  67. "pug": "^2.0.3",
  68. "pug-loader": "^2.4.0",
  69. "raw-loader": "~0.5.0",
  70. "react": "^15.2.1",
  71. "react-dom": "^15.2.1",
  72. "rimraf": "^2.6.2",
  73. "script-loader": "~0.7.0",
  74. "simple-git": "^1.65.0",
  75. "style-loader": "^0.19.1",
  76. "typescript": "^3.0.0-rc",
  77. "url-loader": "^0.6.2",
  78. "val-loader": "^1.0.2",
  79. "vm-browserify": "~0.0.0",
  80. "wast-loader": "^1.5.5",
  81. "webpack-dev-middleware": "^1.9.0",
  82. "worker-loader": "^1.1.1",
  83. "xxhashjs": "^0.2.1"
  84. },
  85. "engines": {
  86. "node": ">=6.11.5"
  87. },
  88. "repository": {
  89. "type": "git",
  90. "url": "https://github.com/webpack/webpack.git"
  91. },
  92. "homepage": "https://github.com/webpack/webpack",
  93. "main": "lib/webpack.js",
  94. "web": "lib/webpack.web.js",
  95. "bin": "./bin/webpack.js",
  96. "files": [
  97. "lib/",
  98. "bin/",
  99. "buildin/",
  100. "declarations/",
  101. "hot/",
  102. "web_modules/",
  103. "schemas/",
  104. "SECURITY.md"
  105. ],
  106. "scripts": {
  107. "setup": "node ./setup/setup.js",
  108. "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
  109. "test:update-snapshots": "yarn jest -u",
  110. "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
  111. "test:basic": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/{TestCasesNormal,StatsTestCases,ConfigTestCases}.test.js\"",
  112. "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
  113. "travis:integration": "yarn cover:init && yarn cover:integration --ci $JEST",
  114. "travis:basic": "yarn test:basic --ci $JEST",
  115. "travis:lint-unit": "yarn lint && yarn cover:init && yarn cover:unit --ci $JEST",
  116. "travis:benchmark": "yarn benchmark --ci",
  117. "appveyor:integration": "yarn cover:init && yarn cover:integration --ci %JEST%",
  118. "appveyor:unit": "yarn cover:init && yarn cover:unit --ci %JEST%",
  119. "appveyor:benchmark": "yarn benchmark --ci",
  120. "build:examples": "cd examples && node buildAll.js",
  121. "pretest": "yarn lint",
  122. "prelint": "yarn setup",
  123. "lint": "yarn code-lint && yarn schema-lint && yarn type-lint && yarn special-lint",
  124. "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\"",
  125. "type-lint": "tsc --pretty",
  126. "special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
  127. "special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
  128. "fix": "yarn code-lint --fix && yarn special-lint-fix",
  129. "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\"",
  130. "schema-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
  131. "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
  132. "cover": "yarn cover:init && yarn cover:all && yarn cover:report",
  133. "cover:init": "rimraf coverage",
  134. "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
  135. "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
  136. "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
  137. "cover:report": "istanbul report"
  138. },
  139. "husky": {
  140. "hooks": {
  141. "pre-commit": "lint-staged"
  142. }
  143. },
  144. "lint-staged": {
  145. "*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
  146. "eslint --cache"
  147. ]
  148. },
  149. "jest": {
  150. "forceExit": true,
  151. "setupFilesAfterEnv": [
  152. "<rootDir>/test/setupTestFramework.js"
  153. ],
  154. "testMatch": [
  155. "<rootDir>/test/*.test.js",
  156. "<rootDir>/test/*.unittest.js"
  157. ],
  158. "watchPathIgnorePatterns": [
  159. "<rootDir>/.git",
  160. "<rootDir>/node_modules",
  161. "<rootDir>/test/js",
  162. "<rootDir>/test/browsertest/js",
  163. "<rootDir>/test/fixtures/temp-cache-fixture",
  164. "<rootDir>/test/fixtures/temp-",
  165. "<rootDir>/benchmark",
  166. "<rootDir>/examples/*/dist",
  167. "<rootDir>/coverage",
  168. "<rootDir>/.eslintcache"
  169. ],
  170. "modulePathIgnorePatterns": [
  171. "<rootDir>/.git",
  172. "<rootDir>/node_modules/webpack/node_modules",
  173. "<rootDir>/test/js",
  174. "<rootDir>/test/browsertest/js",
  175. "<rootDir>/test/fixtures/temp-cache-fixture",
  176. "<rootDir>/test/fixtures/temp-",
  177. "<rootDir>/benchmark",
  178. "<rootDir>/examples/*/dist",
  179. "<rootDir>/coverage",
  180. "<rootDir>/.eslintcache"
  181. ],
  182. "transformIgnorePatterns": [
  183. "<rootDir>"
  184. ],
  185. "coverageDirectory": "<rootDir>/coverage",
  186. "coveragePathIgnorePatterns": [
  187. "\\.runtime\\.js$",
  188. "<rootDir>/test",
  189. "<rootDir>/schemas",
  190. "<rootDir>/node_modules"
  191. ],
  192. "testEnvironment": "node",
  193. "coverageReporters": [
  194. "json"
  195. ]
  196. }
  197. }