Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
258 lines (258 loc) · 13.9 KB
/
Copy pathpackage.json
File metadata and controls
258 lines (258 loc) · 13.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
{
"name": "webpack",
"version": "5.111.1",
"description": "Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.",
"homepage": "https://github.com/webpack/webpack",
"bugs": "https://github.com/webpack/webpack/issues",
"repository": {
"type": "git",
"url": "https://github.com/webpack/webpack.git"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"license": "MIT",
"author": "Tobias Koppers @sokra",
"main": "lib/index.js",
"types": "types.d.ts",
"bin": {
"webpack": "bin/webpack.js"
},
"files": [
"lib/",
"bin/",
"hot/",
"schemas/",
"SECURITY.md",
"module.d.ts",
"types.d.ts"
],
"scripts": {
"prepare": "husky",
"setup": "node ./setup/setup.js",
"prelint": "yarn setup",
"lint": "yarn lint:agents && yarn lint:special && node tooling/run-parallel.js lint:code lint:types-all fmt:check lint:spellcheck",
"lint:agents": "node tooling/check-agents-md-size.js",
"lint:code": "node node_modules/eslint/bin/eslint.js --cache --concurrency auto .",
"lint:special": "node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node tooling/generate-css-data.js && node tooling/generate-html-data.js && node tooling/generate-js-data.js && node tooling/generate-schemas.js && node tooling/precompile-schemas.js && node tooling/generate-types.js --no-template-literals && node tooling/generate-internal-serializables.js",
"lint:types": "node tooling/tsc-incremental.js types",
"lint:types-test": "node tooling/tsc-incremental.js types-test -p tsconfig.types.test.json",
"lint:types-benchmark": "node tooling/tsc-incremental.js types-benchmark -p tsconfig.types.benchmark.json",
"lint:types-hot": "node tooling/tsc-incremental.js types-hot -p tsconfig.hot.json",
"lint:types-module-test": "node tooling/tsc-incremental.js types-module-test -p tsconfig.module.test.json",
"lint:types-all": "node tooling/run-parallel.js lint:types lint:types-test lint:types-benchmark lint:types-module-test lint:types-hot",
"lint:spellcheck": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"validate:changeset": "node .changeset/changeset-validate.mjs",
"version:release": "node ./node_modules/.bin/changeset version && node node_modules/prettier/bin/prettier.cjs --log-level warn --write CHANGELOG.md",
"validate:types": "tsc -p tsconfig.validation.json",
"fmt": "yarn fmt:base --log-level warn --write",
"fmt:check": "yarn fmt:base --check",
"fmt:base": "node node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .",
"fix": "yarn fix:code && yarn fix:special && yarn fmt",
"fix:code": "yarn lint:code --fix",
"fix:special": "node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node tooling/generate-css-data.js --write && node tooling/generate-html-data.js --write && node tooling/generate-js-data.js --write && node tooling/generate-schemas.js --write && node tooling/precompile-schemas.js --write && node tooling/generate-types.js --no-template-literals --write && node tooling/generate-internal-serializables.js --write",
"fix:serializables": "node tooling/generate-internal-serializables.js --write",
"build:examples": "cd examples && node buildAll.js",
"benchmark": "node --max-old-space-size=6144 --experimental-vm-modules --trace-deprecation --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./test/BenchmarkTestCases.benchmark.mjs",
"playground": "webpack serve --config test/hotPlayground/webpack.config.js",
"test:invariants": "yarn test:invariants:css && yarn test:invariants:html && yarn test:invariants:js",
"test:invariants:css": "node tooling/compare-css-tools.js --invariants",
"test:invariants:html": "node tooling/compare-html-tools.js --invariants",
"test:invariants:js": "node tooling/compare-js-tools.js --invariants",
"test:invariants:full": "yarn test:invariants:css --require-corpus && yarn test:invariants:html --require-corpus && yarn test:invariants:js --require-corpus",
"benchmark:css-tools": "node tooling/compare-css-tools.js",
"benchmark:css-tools:setup": "node tooling/compare-css-tools.js --setup",
"benchmark:html-tools": "node tooling/compare-html-tools.js",
"benchmark:html-tools:setup": "node tooling/compare-html-tools.js --setup",
"benchmark:js-tools": "node tooling/compare-js-tools.js",
"benchmark:js-tools:setup": "node tooling/compare-js-tools.js --setup",
"find-deep-imports": "node tooling/find-deep-webpack-imports.js",
"find-deep-imports:check": "node tooling/find-deep-webpack-imports.js --check",
"measure:color-agreement": "node tooling/measure-color-agreement.js",
"setup:firefox": "node tooling/install-firefox.js",
"setup:webkit": "node node_modules/playwright-core/cli.js install webkit",
"pretest": "yarn lint",
"test": "yarn test:base",
"test:base": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --workerIdleMemoryLimit=512MB --logHeapUsage",
"test:basic": "yarn test:base --testMatch \"<rootDir>/test/*.basictest.js\"",
"test:basic:deno": "yarn test:base:deno --testMatch \"<rootDir>/test/*.basictest.js\"",
"test:basic:bun": "yarn test:base:bun --testMatch \"<rootDir>/test/*.basictest.js\"",
"test:unit": "yarn test:base --testMatch \"<rootDir>/test/unitCases/*.unittest.js\"",
"test:integration": "yarn test:base --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\"",
"test:integration:a": "yarn test:base --testMatch \"<rootDir>/test/*.{basictest,test}.js\"",
"test:integration:b": "yarn test:base --testMatch \"<rootDir>/test/*.longtest.js\"",
"test:test262": "yarn test:base --testMatch \"<rootDir>/test/specCases/test262.spectest.js\"",
"test:test262-parser": "yarn test:base --testMatch \"<rootDir>/test/specCases/test262-parser.spectest.js\"",
"test:minify-corpora": "yarn test:base --testMatch \"<rootDir>/test/specCases/minify-corpora.spectest.js\"",
"test:html5lib": "yarn test:base --testMatch \"<rootDir>/test/specCases/html5lib.spectest.js\"",
"test:syntax-equivalence": "yarn test:base --testMatch \"<rootDir>/test/specCases/syntaxEquivalence.spectest.js\"",
"test:css-parsing": "yarn test:base --testMatch \"<rootDir>/test/specCases/cssParsing-webpack.spectest.js\"",
"test:deno": "yarn test:base:deno --reporters default --reporters \"<rootDir>/test/harness/runtimeCrashReporter.js\" --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\" \"<rootDir>/test/unitCases/*.unittest.js\" --testPathIgnorePatterns \"/node_modules/\" \"(ProfilingPlugin[.]unittest|WebpackDevServer)\"",
"test:base:deno": "deno --allow-read --allow-env --allow-sys --allow-ffi --allow-write --allow-run --allow-net --import-map=test/harness/runtimes/deno-import-map.json --v8-flags='--max-old-space-size=4096' ./node_modules/jest-cli/bin/jest.js --workerIdleMemoryLimit=512MB --logHeapUsage",
"test:bun": "yarn test:base:bun --reporters default --reporters \"<rootDir>/test/harness/runtimeCrashReporter.js\" --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\" \"<rootDir>/test/unitCases/*.unittest.js\" --testPathIgnorePatterns \"/node_modules/\" \"(ProfilingPlugin[.]unittest|WebpackDevServer)\"",
"test:base:bun": "NODE_EXTRA_CA_CERTS=./test/hotCases/lazy-compilation/https/cert.pem bun --bun --smol --preload ./test/harness/runtimes/bun-preload.js ./node_modules/jest-cli/bin/jest.js --workerThreads --workerIdleMemoryLimit=2048MB --logHeapUsage",
"test:update-snapshots": "yarn test:base -u",
"test:size": "node --max-old-space-size=4096 ./test/CodeSizeTestCases.size.js",
"report:cover": "nyc report --reporter=lcov --reporter=text -t coverage",
"report:cover:clean": "rimraf .nyc_output coverage",
"report:cover:merge": "yarn mkdirp .nyc_output && nyc merge .nyc_output coverage/coverage-nyc.json && rimraf .nyc_output",
"types:cover": "node tooling/type-coverage.js",
"types:cover:report": "rimraf coverage && yarn types:cover && yarn report:cover && open-cli coverage/lcov-report/index.html",
"cover": "yarn cover:all && yarn report:cover",
"cover:base": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --workerIdleMemoryLimit=512MB --logHeapUsage",
"cover:all": "yarn cover:base --coverage",
"cover:unit": "yarn cover:base --testMatch \"<rootDir>/test/unitCases/*.unittest.js\" --coverage",
"cover:basic": "yarn cover:base --testMatch \"<rootDir>/test/*.basictest.js\" --coverage",
"cover:integration": "yarn cover:base --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\" --coverage",
"cover:integration:a": "yarn cover:base --testMatch \"<rootDir>/test/*.{basictest,test}.js\" --coverage",
"cover:integration:b": "yarn cover:base --testMatch \"<rootDir>/test/*.longtest.js\" --coverage",
"cover:test262": "yarn cover:base --testMatch \"<rootDir>/test/specCases/test262.spectest.js\" --coverage",
"cover:html5lib": "yarn cover:base --testMatch \"<rootDir>/test/specCases/html5lib.spectest.js\" --coverage",
"cover:syntax-equivalence": "yarn cover:base --testMatch \"<rootDir>/test/specCases/syntaxEquivalence.spectest.js\" --coverage",
"cover:css-parsing": "yarn cover:base --testMatch \"<rootDir>/test/specCases/cssParsing-webpack.spectest.js\" --coverage",
"cover:minify-corpora": "yarn cover:base --testMatch \"<rootDir>/test/specCases/minify-corpora.spectest.js\" --coverage"
},
"lint-staged": {
"*.{js,cjs,mjs}": [
"node node_modules/eslint/bin/eslint.js --cache --fix"
],
"*": [
"node node_modules/prettier/bin/prettier.cjs --cache --write --ignore-unknown",
"cspell --cache --no-must-find-files"
]
},
"dependencies": {
"@types/estree": "^1.0.8",
"@types/json-schema": "^7.0.15",
"@webassemblyjs/ast": "^1.14.1",
"@webassemblyjs/wasm-edit": "^1.14.1",
"@webassemblyjs/wasm-parser": "^1.14.1",
"browserslist": "^4.28.1",
"chrome-trace-event": "^1.0.2",
"enhanced-resolve": "^5.26.0",
"es-module-lexer": "^2.1.0",
"events": "^3.2.0",
"graceful-fs": "^4.2.11",
"mime-db": "^1.54.0",
"minimizer-webpack-plugin": "^5.12.0",
"schema-utils": "^4.5.0",
"tapable": "^2.3.0",
"watchpack": "^2.5.2",
"webpack-sources": "^3.6.0"
},
"devDependencies": {
"@babel/core": "^8.0.1",
"@babel/preset-react": "^8.0.1",
"@changesets/cli": "^3.0.1",
"@changesets/get-github-info": "^1.0.1",
"@codspeed/core": "^5.5.0",
"@mdn/browser-compat-data": "^8.1.4",
"@puppeteer/browsers": "^3.2.2",
"@types/convert-source-map": "^2.0.3",
"@types/graceful-fs": "^4.1.9",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.7",
"@types/mime-db": "^1.43.6",
"@types/node": "^26.2.0",
"@types/xxhashjs": "^0.2.4",
"@webdiscus/pug-loader": "^2.11.1",
"@webref/elements": "^2.8.0",
"@webref/idl": "^3.83.1",
"acorn": "^8.16.0",
"ajv": "^8.20.0",
"assemblyscript": "^0.28.18",
"babel-loader": "^10.0.0",
"bundle-loader": "^0.5.6",
"coffee-loader": "^5.0.0",
"coffeescript": "^2.5.1",
"color-name": "^2.1.1",
"commondir": "^1.0.1",
"core-js": "^3.47.0",
"cspell": "^10.0.1",
"css-loader": "^7.1.2",
"date-fns": "^4.4.0",
"es5-ext": "^0.10.53",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^9.39.5",
"eslint-config-webpack": "^4.15.0",
"eslint-scope": "^9.1.2",
"eta": "^4.6.0",
"file-loader": "^6.0.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"glob": "^13.0.6",
"globals": "^17.6.0",
"hash-wasm": "^4.9.0",
"html-loader": "^5.1.0",
"husky": "^9.0.11",
"istanbul": "^0.4.5",
"jest": "^30.3.0",
"jest-circus": "^30.3.0",
"jest-cli": "^30.3.0",
"jest-diff": "^30.3.0",
"jest-environment-node": "^30.3.0",
"jest-junit": "^17.0.0",
"jest-snapshot": "^30.3.0",
"jest-worker": "^30.2.0",
"json-loader": "^0.5.7",
"json5": "^2.1.3",
"less": "^4.6.4",
"less-loader": "^13.0.0",
"lint-staged": "^17.0.7",
"lodash": "^4.17.19",
"lodash-es": "^4.17.15",
"mdn-data": "^2.37.1",
"memfs": "^4.57.6",
"meriyah": "^7.0.0",
"mini-css-extract-plugin": "^2.9.0",
"mini-svg-data-uri": "^1.2.3",
"node-gyp": "^13.0.0",
"nyc": "^18.0.0",
"open-cli": "^9.0.0",
"oxc-parser": "^0.150.0",
"pkg-pr-new": "^0.0.88",
"playwright-core": "^1.63.0",
"prettier": "^3.8.2",
"prettier-2": "npm:prettier@^2",
"pretty-format": "^30.0.5",
"pug": "^3.0.3",
"puppeteer-core": "^25.3.0",
"raw-loader": "^4.0.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"rehype-sanitize": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"rimraf": "^3.0.2",
"script-loader": "^0.7.2",
"simple-git": "^3.28.0",
"style-loader": "^4.0.0",
"terser": "^5.51.0",
"three": "^0.186.0",
"tinybench": "^6.0.1",
"toml": "^5.0.0",
"ts-loader": "^9.6.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.70.0",
"unified": "^11.0.5",
"url-loader": "^4.1.0",
"wast-loader": "^1.12.1",
"webassembly-feature": "1.3.0",
"webpack-cli": "^7.2.1",
"webpack-dev-server": "^6.0.0",
"xxhashjs": "^0.2.2",
"yamljs": "^0.3.0"
},
"peerDependenciesMeta": {
"webpack-cli": {
"optional": true
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"engines": {
"node": ">=10.13.0"
}
}