package.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. {
  2. "_from": "webpack@^4.0.0",
  3. "_id": "webpack@4.46.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==",
  6. "_location": "/webpack",
  7. "_phantomChildren": {
  8. "ajv": "6.12.6",
  9. "ajv-errors": "1.0.1",
  10. "ajv-keywords": "3.5.2",
  11. "big.js": "5.2.2",
  12. "emojis-list": "3.0.0",
  13. "minimist": "1.2.6"
  14. },
  15. "_requested": {
  16. "type": "range",
  17. "registry": true,
  18. "raw": "webpack@^4.0.0",
  19. "name": "webpack",
  20. "escapedName": "webpack",
  21. "rawSpec": "^4.0.0",
  22. "saveSpec": null,
  23. "fetchSpec": "^4.0.0"
  24. },
  25. "_requiredBy": [
  26. "/@vue/cli-plugin-babel",
  27. "/@vue/cli-plugin-eslint",
  28. "/@vue/cli-service"
  29. ],
  30. "_resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz",
  31. "_shasum": "bf9b4404ea20a073605e0a011d188d77cb6ad542",
  32. "_spec": "webpack@^4.0.0",
  33. "_where": "D:\\qianger\\7\\jindouyunNewFront\\node_modules\\@vue\\cli-plugin-babel",
  34. "author": {
  35. "name": "Tobias Koppers @sokra"
  36. },
  37. "bin": {
  38. "webpack": "bin/webpack.js"
  39. },
  40. "bugs": {
  41. "url": "https://github.com/webpack/webpack/issues"
  42. },
  43. "bundleDependencies": false,
  44. "dependencies": {
  45. "@webassemblyjs/ast": "1.9.0",
  46. "@webassemblyjs/helper-module-context": "1.9.0",
  47. "@webassemblyjs/wasm-edit": "1.9.0",
  48. "@webassemblyjs/wasm-parser": "1.9.0",
  49. "acorn": "^6.4.1",
  50. "ajv": "^6.10.2",
  51. "ajv-keywords": "^3.4.1",
  52. "chrome-trace-event": "^1.0.2",
  53. "enhanced-resolve": "^4.5.0",
  54. "eslint-scope": "^4.0.3",
  55. "json-parse-better-errors": "^1.0.2",
  56. "loader-runner": "^2.4.0",
  57. "loader-utils": "^1.2.3",
  58. "memory-fs": "^0.4.1",
  59. "micromatch": "^3.1.10",
  60. "mkdirp": "^0.5.3",
  61. "neo-async": "^2.6.1",
  62. "node-libs-browser": "^2.2.1",
  63. "schema-utils": "^1.0.0",
  64. "tapable": "^1.1.3",
  65. "terser-webpack-plugin": "^1.4.3",
  66. "watchpack": "^1.7.4",
  67. "webpack-sources": "^1.4.1"
  68. },
  69. "deprecated": false,
  70. "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.",
  71. "devDependencies": {
  72. "@babel/core": "^7.7.2",
  73. "@types/node": "^10.12.21",
  74. "@types/tapable": "^1.0.1",
  75. "@types/webpack-sources": "^0.1.4",
  76. "@yarnpkg/lockfile": "^1.1.0",
  77. "babel-loader": "^8.0.6",
  78. "benchmark": "^2.1.1",
  79. "bundle-loader": "~0.5.0",
  80. "coffee-loader": "^0.9.0",
  81. "coffeescript": "^2.3.2",
  82. "coveralls": "^3.0.2",
  83. "css-loader": "^2.1.0",
  84. "es6-promise-polyfill": "^1.1.1",
  85. "eslint": "^5.8.0",
  86. "eslint-config-prettier": "^4.0.0",
  87. "eslint-plugin-jest": "^22.2.2",
  88. "eslint-plugin-jsdoc": "^15.3.2",
  89. "eslint-plugin-node": "^8.0.0",
  90. "eslint-plugin-prettier": "^3.0.0",
  91. "express": "~4.16.4",
  92. "file-loader": "^3.0.1",
  93. "glob": "^7.1.3",
  94. "husky": "^1.1.3",
  95. "i18n-webpack-plugin": "^1.0.0",
  96. "istanbul": "^0.4.5",
  97. "jest": "^24.9.0",
  98. "jest-junit": "^8.0.0",
  99. "json-loader": "^0.5.7",
  100. "json-schema-to-typescript": "^6.0.1",
  101. "less": "^3.9.0",
  102. "less-loader": "^4.0.3",
  103. "lint-staged": "^8.0.4",
  104. "lodash": "^4.17.4",
  105. "prettier": "^1.14.3",
  106. "pug": "^2.0.4",
  107. "pug-loader": "^2.4.0",
  108. "raw-loader": "^1.0.0",
  109. "react": "^16.8.0",
  110. "react-dom": "^16.8.0",
  111. "rimraf": "^2.6.2",
  112. "script-loader": "~0.7.0",
  113. "simple-git": "^1.65.0",
  114. "strip-ansi": "^5.2.0",
  115. "style-loader": "^0.23.1",
  116. "typescript": "^3.0.0-rc",
  117. "url-loader": "^1.1.2",
  118. "val-loader": "^1.0.2",
  119. "vm-browserify": "~1.1.0",
  120. "wast-loader": "^1.5.5",
  121. "webassembly-feature": "1.3.0",
  122. "webpack-dev-middleware": "^3.5.1",
  123. "worker-loader": "^2.0.0",
  124. "xxhashjs": "^0.2.1"
  125. },
  126. "engines": {
  127. "node": ">=6.11.5"
  128. },
  129. "files": [
  130. "lib/",
  131. "bin/",
  132. "buildin/",
  133. "declarations/",
  134. "hot/",
  135. "web_modules/",
  136. "schemas/",
  137. "SECURITY.md"
  138. ],
  139. "funding": {
  140. "type": "opencollective",
  141. "url": "https://opencollective.com/webpack"
  142. },
  143. "homepage": "https://github.com/webpack/webpack",
  144. "husky": {
  145. "hooks": {
  146. "pre-commit": "lint-staged"
  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. "license": "MIT",
  198. "lint-staged": {
  199. "*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
  200. "eslint --cache"
  201. ]
  202. },
  203. "main": "lib/webpack.js",
  204. "name": "webpack",
  205. "peerDependenciesMeta": {
  206. "webpack-cli": {
  207. "optional": true
  208. },
  209. "webpack-command": {
  210. "optional": true
  211. }
  212. },
  213. "repository": {
  214. "type": "git",
  215. "url": "git+https://github.com/webpack/webpack.git"
  216. },
  217. "scripts": {
  218. "appveyor:benchmark": "yarn benchmark --ci",
  219. "appveyor:integration": "yarn cover:integration --ci %JEST%",
  220. "appveyor:unit": "yarn cover:unit --ci %JEST%",
  221. "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
  222. "build:examples": "cd examples && node buildAll.js",
  223. "code-lint": "eslint . --ext '.js' --cache",
  224. "cover": "yarn cover:all && yarn cover:report",
  225. "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
  226. "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",
  227. "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
  228. "cover:report": "istanbul report",
  229. "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
  230. "fix": "yarn code-lint --fix && yarn special-lint-fix",
  231. "jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
  232. "lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
  233. "prelint": "yarn setup",
  234. "pretest": "yarn lint",
  235. "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\"",
  236. "setup": "node ./setup/setup.js",
  237. "special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
  238. "special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
  239. "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
  240. "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\"",
  241. "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
  242. "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
  243. "test:update-snapshots": "yarn jest -u",
  244. "travis:basic": "yarn cover:basic --ci $JEST",
  245. "travis:benchmark": "yarn benchmark --ci",
  246. "travis:integration": "yarn cover:integration --ci $JEST",
  247. "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
  248. "type-lint": "tsc --pretty"
  249. },
  250. "version": "4.46.0",
  251. "web": "lib/webpack.web.js"
  252. }