package.json 8.4 KB

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