package.json 8.6 KB

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