1 | {
|
2 | "name": "webpack",
|
3 | "version": "5.73.0",
|
4 | "author": "Tobias Koppers @sokra",
|
5 | "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.",
|
6 | "license": "MIT",
|
7 | "dependencies": {
|
8 | "@types/eslint-scope": "^3.7.3",
|
9 | "@types/estree": "^0.0.51",
|
10 | "@webassemblyjs/ast": "1.11.1",
|
11 | "@webassemblyjs/wasm-edit": "1.11.1",
|
12 | "@webassemblyjs/wasm-parser": "1.11.1",
|
13 | "acorn": "^8.4.1",
|
14 | "acorn-import-assertions": "^1.7.6",
|
15 | "browserslist": "^4.14.5",
|
16 | "chrome-trace-event": "^1.0.2",
|
17 | "enhanced-resolve": "^5.9.3",
|
18 | "es-module-lexer": "^0.9.0",
|
19 | "eslint-scope": "5.1.1",
|
20 | "events": "^3.2.0",
|
21 | "glob-to-regexp": "^0.4.1",
|
22 | "graceful-fs": "^4.2.9",
|
23 | "json-parse-even-better-errors": "^2.3.1",
|
24 | "loader-runner": "^4.2.0",
|
25 | "mime-types": "^2.1.27",
|
26 | "neo-async": "^2.6.2",
|
27 | "schema-utils": "^3.1.0",
|
28 | "tapable": "^2.1.1",
|
29 | "terser-webpack-plugin": "^5.1.3",
|
30 | "watchpack": "^2.3.1",
|
31 | "webpack-sources": "^3.2.3"
|
32 | },
|
33 | "peerDependenciesMeta": {
|
34 | "webpack-cli": {
|
35 | "optional": true
|
36 | }
|
37 | },
|
38 | "devDependencies": {
|
39 | "@babel/core": "^7.11.1",
|
40 | "@babel/preset-react": "^7.10.4",
|
41 | "@types/es-module-lexer": "^0.4.1",
|
42 | "@types/jest": "^27.4.0",
|
43 | "@types/node": "^17.0.16",
|
44 | "assemblyscript": "^0.19.16",
|
45 | "babel-loader": "^8.1.0",
|
46 | "benchmark": "^2.1.4",
|
47 | "bundle-loader": "^0.5.6",
|
48 | "coffee-loader": "^1.0.0",
|
49 | "coffeescript": "^2.5.1",
|
50 | "core-js": "^3.6.5",
|
51 | "coveralls": "^3.1.0",
|
52 | "cspell": "^4.0.63",
|
53 | "css-loader": "^5.0.1",
|
54 | "date-fns": "^2.15.0",
|
55 | "es5-ext": "^0.10.53",
|
56 | "es6-promise-polyfill": "^1.2.0",
|
57 | "eslint": "^7.14.0",
|
58 | "eslint-config-prettier": "^8.1.0",
|
59 | "eslint-plugin-jest": "^24.7.0",
|
60 | "eslint-plugin-jsdoc": "^33.0.0",
|
61 | "eslint-plugin-node": "^11.0.0",
|
62 | "eslint-plugin-prettier": "^4.0.0",
|
63 | "file-loader": "^6.0.0",
|
64 | "fork-ts-checker-webpack-plugin": "^6.0.5",
|
65 | "hash-wasm": "^4.9.0",
|
66 | "husky": "^6.0.0",
|
67 | "is-ci": "^3.0.0",
|
68 | "istanbul": "^0.4.5",
|
69 | "jest": "^27.5.0",
|
70 | "jest-circus": "^27.5.0",
|
71 | "jest-cli": "^27.5.0",
|
72 | "jest-diff": "^27.5.0",
|
73 | "jest-junit": "^13.0.0",
|
74 | "json-loader": "^0.5.7",
|
75 | "json5": "^2.1.3",
|
76 | "less": "^4.0.0",
|
77 | "less-loader": "^8.0.0",
|
78 | "lint-staged": "^11.0.0",
|
79 | "loader-utils": "^2.0.0",
|
80 | "lodash": "^4.17.19",
|
81 | "lodash-es": "^4.17.15",
|
82 | "memfs": "^3.2.0",
|
83 | "mini-css-extract-plugin": "^1.6.1",
|
84 | "mini-svg-data-uri": "^1.2.3",
|
85 | "nyc": "^15.1.0",
|
86 | "open-cli": "^6.0.1",
|
87 | "prettier": "^2.2.0",
|
88 | "pretty-format": "^27.0.2",
|
89 | "pug": "^3.0.0",
|
90 | "pug-loader": "^2.4.0",
|
91 | "raw-loader": "^4.0.1",
|
92 | "react": "^17.0.1",
|
93 | "react-dom": "^17.0.1",
|
94 | "rimraf": "^3.0.2",
|
95 | "script-loader": "^0.7.2",
|
96 | "simple-git": "^2.17.0",
|
97 | "strip-ansi": "^6.0.0",
|
98 | "style-loader": "^2.0.0",
|
99 | "terser": "^5.7.0",
|
100 | "toml": "^3.0.0",
|
101 | "tooling": "webpack/tooling#v1.21.0",
|
102 | "ts-loader": "^8.0.2",
|
103 | "typescript": "^4.5.5",
|
104 | "url-loader": "^4.1.0",
|
105 | "wast-loader": "^1.11.0",
|
106 | "webassembly-feature": "1.3.0",
|
107 | "webpack-cli": "^4.3.0",
|
108 | "xxhashjs": "^0.2.2",
|
109 | "yamljs": "^0.3.0",
|
110 | "yarn-deduplicate": "^3.1.0"
|
111 | },
|
112 | "engines": {
|
113 | "node": ">=10.13.0"
|
114 | },
|
115 | "repository": {
|
116 | "type": "git",
|
117 | "url": "https://github.com/webpack/webpack.git"
|
118 | },
|
119 | "funding": {
|
120 | "type": "opencollective",
|
121 | "url": "https://opencollective.com/webpack"
|
122 | },
|
123 | "homepage": "https://github.com/webpack/webpack",
|
124 | "main": "lib/index.js",
|
125 | "bin": {
|
126 | "webpack": "bin/webpack.js"
|
127 | },
|
128 | "types": "types.d.ts",
|
129 | "files": [
|
130 | "lib/",
|
131 | "bin/",
|
132 | "hot/",
|
133 | "schemas/",
|
134 | "SECURITY.md",
|
135 | "module.d.ts",
|
136 | "types.d.ts"
|
137 | ],
|
138 | "scripts": {
|
139 | "setup": "node ./setup/setup.js",
|
140 | "jest": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage",
|
141 | "test": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage",
|
142 | "test:update-snapshots": "yarn jest -u",
|
143 | "test:integration": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\"",
|
144 | "test:basic": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.basictest.js\"",
|
145 | "test:unit": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
|
146 | "build:examples": "cd examples && node buildAll.js",
|
147 | "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
|
148 | "pretest": "yarn lint",
|
149 | "prelint": "yarn setup",
|
150 | "lint": "yarn code-lint && yarn special-lint && yarn type-lint && yarn typings-test && yarn module-typings-test && yarn yarn-lint && yarn pretty-lint && yarn spellcheck",
|
151 | "code-lint": "eslint . --ext '.js' --cache",
|
152 | "type-lint": "tsc",
|
153 | "typings-test": "tsc -p tsconfig.types.test.json",
|
154 | "module-typings-test": "tsc -p tsconfig.module.test.json",
|
155 | "spellcheck": "cspell \"**/*\"",
|
156 | "special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals",
|
157 | "special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write",
|
158 | "fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
|
159 | "prepare": "husky install",
|
160 | "pretty-lint-base": "prettier \"*.{ts,json,yml,yaml,md}\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.json\" \"examples/*.md\"",
|
161 | "pretty-lint-base-all": "yarn pretty-lint-base \"*.js\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.js\" \"module.d.ts\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases,benchmarkCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
|
162 | "pretty-lint-fix": "yarn pretty-lint-base-all --loglevel warn --write",
|
163 | "pretty-lint": "yarn pretty-lint-base --check",
|
164 | "yarn-lint": "yarn-deduplicate --fail --list -s highest yarn.lock",
|
165 | "yarn-lint-fix": "yarn-deduplicate -s highest yarn.lock",
|
166 | "benchmark": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
|
167 | "cover": "yarn cover:all && yarn cover:report",
|
168 | "cover:clean": "rimraf .nyc_output coverage",
|
169 | "cover:all": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --coverage",
|
170 | "cover:basic": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.basictest.js\" --coverage",
|
171 | "cover:integration": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\" --coverage",
|
172 | "cover:integration:a": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.{basictest,test}.js\" --coverage",
|
173 | "cover:integration:b": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.longtest.js\" --coverage",
|
174 | "cover:unit": "node --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
|
175 | "cover:types": "node node_modules/tooling/type-coverage",
|
176 | "cover:merge": "yarn mkdirp .nyc_output && nyc merge .nyc_output coverage/coverage-nyc.json && rimraf .nyc_output",
|
177 | "cover:report": "nyc report -t coverage"
|
178 | },
|
179 | "lint-staged": {
|
180 | "*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
|
181 | "eslint --cache"
|
182 | ],
|
183 | "*.{ts,json,yml,yaml,md}|examples/*.md": [
|
184 | "prettier --check"
|
185 | ],
|
186 | "*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}": [
|
187 | "cspell"
|
188 | ]
|
189 | },
|
190 | "jest": {
|
191 | "forceExit": true,
|
192 | "setupFilesAfterEnv": [
|
193 | "<rootDir>/test/setupTestFramework.js"
|
194 | ],
|
195 | "testMatch": [
|
196 | "<rootDir>/test/*.test.js",
|
197 | "<rootDir>/test/*.basictest.js",
|
198 | "<rootDir>/test/*.longtest.js",
|
199 | "<rootDir>/test/*.unittest.js"
|
200 | ],
|
201 | "watchPathIgnorePatterns": [
|
202 | "<rootDir>/.git",
|
203 | "<rootDir>/node_modules",
|
204 | "<rootDir>/test/js",
|
205 | "<rootDir>/test/browsertest/js",
|
206 | "<rootDir>/test/fixtures/temp-cache-fixture",
|
207 | "<rootDir>/test/fixtures/temp-",
|
208 | "<rootDir>/benchmark",
|
209 | "<rootDir>/assembly",
|
210 | "<rootDir>/tooling",
|
211 | "<rootDir>/examples/*/dist",
|
212 | "<rootDir>/coverage",
|
213 | "<rootDir>/.eslintcache"
|
214 | ],
|
215 | "modulePathIgnorePatterns": [
|
216 | "<rootDir>/.git",
|
217 | "<rootDir>/node_modules/webpack/node_modules",
|
218 | "<rootDir>/test/js",
|
219 | "<rootDir>/test/browsertest/js",
|
220 | "<rootDir>/test/fixtures/temp-cache-fixture",
|
221 | "<rootDir>/test/fixtures/temp-",
|
222 | "<rootDir>/benchmark",
|
223 | "<rootDir>/examples/*/dist",
|
224 | "<rootDir>/coverage",
|
225 | "<rootDir>/.eslintcache"
|
226 | ],
|
227 | "transformIgnorePatterns": [
|
228 | "<rootDir>"
|
229 | ],
|
230 | "coverageDirectory": "<rootDir>/coverage",
|
231 | "coveragePathIgnorePatterns": [
|
232 | "\\.runtime\\.js$",
|
233 | "<rootDir>/test",
|
234 | "<rootDir>/schemas",
|
235 | "<rootDir>/node_modules"
|
236 | ],
|
237 | "testEnvironment": "node",
|
238 | "coverageReporters": [
|
239 | "json"
|
240 | ]
|
241 | }
|
242 | }
|