package.json 8.4 KB

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