package.json 8.7 KB

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