您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 8.3KB

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