2012-03-10 20:11:23 +08:00
{
2015-04-15 01:57:37 +08:00
"name" : "webpack" ,
2025-02-13 04:10:11 +08:00
"version" : "5.98.0" ,
2015-04-15 01:57:37 +08:00
"author" : "Tobias Koppers @sokra" ,
2023-05-08 12:31:25 +08:00
"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." ,
2018-01-07 00:44:20 +08:00
"license" : "MIT" ,
2015-04-15 01:57:37 +08:00
"dependencies" : {
2024-11-01 18:16:32 +08:00
"@types/eslint-scope" : "^3.7.7" ,
2024-09-26 00:00:15 +08:00
"@types/estree" : "^1.0.6" ,
2024-11-07 21:24:38 +08:00
"@webassemblyjs/ast" : "^1.14.1" ,
"@webassemblyjs/wasm-edit" : "^1.14.1" ,
"@webassemblyjs/wasm-parser" : "^1.14.1" ,
2024-10-31 05:09:25 +08:00
"acorn" : "^8.14.0" ,
2024-10-14 11:02:08 +08:00
"browserslist" : "^4.24.0" ,
2019-08-01 22:51:20 +08:00
"chrome-trace-event" : "^1.0.2" ,
2024-07-23 22:41:17 +08:00
"enhanced-resolve" : "^5.17.1" ,
2023-04-08 03:52:23 +08:00
"es-module-lexer" : "^1.2.1" ,
2021-05-19 18:55:00 +08:00
"eslint-scope" : "5.1.1" ,
2020-08-12 01:55:44 +08:00
"events" : "^3.2.0" ,
2019-05-17 03:12:59 +08:00
"glob-to-regexp" : "^0.4.1" ,
2024-03-11 22:10:47 +08:00
"graceful-fs" : "^4.2.11" ,
2022-04-16 20:01:53 +08:00
"json-parse-even-better-errors" : "^2.3.1" ,
2021-01-07 22:37:19 +08:00
"loader-runner" : "^4.2.0" ,
2020-08-12 01:55:44 +08:00
"mime-types" : "^2.1.27" ,
"neo-async" : "^2.6.2" ,
2024-12-13 22:03:44 +08:00
"schema-utils" : "^4.3.0" ,
2020-11-09 18:58:18 +08:00
"tapable" : "^2.1.1" ,
2024-12-13 22:03:44 +08:00
"terser-webpack-plugin" : "^5.3.11" ,
2024-03-13 21:36:17 +08:00
"watchpack" : "^2.4.1" ,
2022-01-18 19:38:34 +08:00
"webpack-sources" : "^3.2.3"
2015-04-15 01:57:37 +08:00
} ,
2020-07-17 18:42:39 +08:00
"peerDependenciesMeta" : {
"webpack-cli" : {
"optional" : true
}
} ,
2015-04-15 01:57:37 +08:00
"devDependencies" : {
2025-02-11 04:18:43 +08:00
"@babel/core" : "^7.26.8" ,
2024-10-14 11:02:08 +08:00
"@babel/preset-react" : "^7.25.7" ,
2025-03-07 23:32:55 +08:00
"@eslint/js" : "^9.21.0" ,
"@stylistic/eslint-plugin" : "^4.2.0" ,
2024-02-22 22:20:17 +08:00
"@types/glob-to-regexp" : "^0.4.4" ,
2024-01-13 21:51:07 +08:00
"@types/jest" : "^29.5.11" ,
"@types/mime-types" : "^2.1.4" ,
2025-03-14 06:05:02 +08:00
"@types/node" : "^22.13.10" ,
2025-02-11 04:18:43 +08:00
"assemblyscript" : "^0.27.34" ,
2024-07-24 20:32:01 +08:00
"babel-loader" : "^9.1.3" ,
2020-08-12 01:55:44 +08:00
"benchmark" : "^2.1.4" ,
"bundle-loader" : "^0.5.6" ,
2024-07-24 20:32:01 +08:00
"coffee-loader" : "^5.0.0" ,
2020-08-12 01:55:44 +08:00
"coffeescript" : "^2.5.1" ,
2020-08-31 20:37:06 +08:00
"core-js" : "^3.6.5" ,
2024-06-05 11:10:20 +08:00
"cspell" : "^8.8.4" ,
2024-07-24 20:32:01 +08:00
"css-loader" : "^7.1.2" ,
2024-09-17 10:08:40 +08:00
"date-fns" : "^4.0.0" ,
2020-09-30 15:51:16 +08:00
"es5-ext" : "^0.10.53" ,
2020-08-12 01:55:44 +08:00
"es6-promise-polyfill" : "^1.2.0" ,
2025-03-07 23:32:55 +08:00
"eslint" : "^9.21.0" ,
"eslint-config-prettier" : "^10.1.1" ,
2024-06-11 20:32:02 +08:00
"eslint-plugin-jest" : "^28.6.0" ,
2025-03-07 23:32:55 +08:00
"eslint-plugin-jsdoc" : "^50.6.3" ,
"eslint-plugin-n" : "^17.16.2" ,
2024-01-14 09:41:34 +08:00
"eslint-plugin-prettier" : "^5.1.3" ,
2025-03-07 23:32:55 +08:00
"eslint-plugin-unicorn" : "^57.0.0" ,
2020-05-23 21:01:11 +08:00
"file-loader" : "^6.0.0" ,
2024-03-12 01:22:43 +08:00
"fork-ts-checker-webpack-plugin" : "^9.0.2" ,
2024-06-11 20:38:41 +08:00
"globals" : "^15.4.0" ,
2021-09-23 18:55:18 +08:00
"hash-wasm" : "^4.9.0" ,
2024-03-13 21:36:17 +08:00
"husky" : "^9.0.11" ,
2016-12-29 04:31:33 +08:00
"istanbul" : "^0.4.5" ,
2024-01-13 21:51:07 +08:00
"jest" : "^29.7.0" ,
"jest-circus" : "^29.7.0" ,
"jest-cli" : "^29.7.0" ,
"jest-diff" : "^29.7.0" ,
"jest-environment-node" : "^29.7.0" ,
2023-04-17 00:56:55 +08:00
"jest-junit" : "^16.0.0" ,
2017-11-12 01:48:29 +08:00
"json-loader" : "^0.5.7" ,
2020-08-12 01:55:44 +08:00
"json5" : "^2.1.3" ,
2023-04-08 07:15:41 +08:00
"less" : "^4.0.0" ,
2024-07-24 20:32:01 +08:00
"less-loader" : "^12.2.0" ,
2024-06-05 11:10:20 +08:00
"lint-staged" : "^15.2.5" ,
2020-08-12 01:55:44 +08:00
"lodash" : "^4.17.19" ,
2019-12-17 02:48:27 +08:00
"lodash-es" : "^4.17.15" ,
2024-10-14 11:02:08 +08:00
"memfs" : "^4.14.0" ,
2024-07-24 20:32:01 +08:00
"mini-css-extract-plugin" : "^2.9.0" ,
2020-08-12 01:55:44 +08:00
"mini-svg-data-uri" : "^1.2.3" ,
2024-10-14 11:02:08 +08:00
"nyc" : "^17.1.0" ,
2024-03-13 21:36:17 +08:00
"open-cli" : "^8.0.0" ,
2025-02-15 00:42:40 +08:00
"prettier" : "^3.5.1" ,
2024-02-22 22:20:17 +08:00
"prettier-2" : "npm:prettier@^2" ,
2023-04-12 20:34:15 +08:00
"pretty-format" : "^29.5.0" ,
2024-06-05 11:10:20 +08:00
"pug" : "^3.0.3" ,
2018-05-10 15:13:17 +08:00
"pug-loader" : "^2.4.0" ,
2020-05-23 21:01:11 +08:00
"raw-loader" : "^4.0.1" ,
2025-02-11 04:18:43 +08:00
"react" : "^19.0.0" ,
"react-dom" : "^19.0.0" ,
2023-04-08 02:47:38 +08:00
"rimraf" : "^3.0.2" ,
2020-08-12 01:55:44 +08:00
"script-loader" : "^0.7.2" ,
2024-10-14 11:02:08 +08:00
"simple-git" : "^3.27.0" ,
2020-03-03 22:24:13 +08:00
"strip-ansi" : "^6.0.0" ,
2024-07-24 20:32:01 +08:00
"style-loader" : "^4.0.0" ,
2025-02-11 04:18:43 +08:00
"terser" : "^5.38.1" ,
2019-11-29 01:12:11 +08:00
"toml" : "^3.0.0" ,
2025-03-14 09:21:08 +08:00
"tooling" : "webpack/tooling#v1.23.6" ,
2024-03-12 17:45:14 +08:00
"ts-loader" : "^9.5.1" ,
2025-03-07 21:12:22 +08:00
"typescript" : "^5.8.2" ,
2020-05-23 21:01:11 +08:00
"url-loader" : "^4.1.0" ,
2024-03-13 21:36:17 +08:00
"wast-loader" : "^1.12.1" ,
2020-02-02 07:42:26 +08:00
"webassembly-feature" : "1.3.0" ,
2025-02-11 04:18:43 +08:00
"webpack-cli" : "^6.0.1" ,
2020-08-12 01:55:44 +08:00
"xxhashjs" : "^0.2.2" ,
2020-05-20 13:59:41 +08:00
"yamljs" : "^0.3.0" ,
2023-04-07 20:36:13 +08:00
"yarn-deduplicate" : "^6.0.1"
2015-04-15 01:57:37 +08:00
} ,
"engines" : {
2019-10-21 21:07:11 +08:00
"node" : ">=10.13.0"
2015-04-15 01:57:37 +08:00
} ,
"repository" : {
"type" : "git" ,
2015-07-23 07:26:50 +08:00
"url" : "https://github.com/webpack/webpack.git"
2015-04-15 01:57:37 +08:00
} ,
2019-11-12 21:16:56 +08:00
"funding" : {
"type" : "opencollective" ,
"url" : "https://opencollective.com/webpack"
} ,
2015-07-23 07:26:50 +08:00
"homepage" : "https://github.com/webpack/webpack" ,
2022-06-10 18:25:44 +08:00
"bugs" : "https://github.com/webpack/webpack/issues" ,
2018-12-09 21:26:35 +08:00
"main" : "lib/index.js" ,
2020-11-17 21:23:14 +08:00
"bin" : {
"webpack" : "bin/webpack.js"
} ,
2020-03-21 21:01:38 +08:00
"types" : "types.d.ts" ,
2015-04-21 14:57:51 +08:00
"files" : [
"lib/" ,
"bin/" ,
"hot/" ,
2018-04-25 02:59:43 +08:00
"schemas/" ,
2020-03-21 21:01:38 +08:00
"SECURITY.md" ,
2021-11-03 19:28:46 +08:00
"module.d.ts" ,
2020-03-21 21:01:38 +08:00
"types.d.ts"
2015-04-21 14:57:51 +08:00
] ,
2015-04-15 01:57:37 +08:00
"scripts" : {
2018-04-04 18:28:03 +08:00
"setup" : "node ./setup/setup.js" ,
2021-07-12 23:02:15 +08:00
"jest" : "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage" ,
2021-07-08 16:30:03 +08:00
"test" : "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage" ,
2018-06-27 21:47:45 +08:00
"test:update-snapshots" : "yarn jest -u" ,
2021-07-13 22:50:12 +08:00
"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\"" ,
"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\"" ,
2021-06-23 19:58:40 +08:00
"test:unit" : "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"" ,
2016-10-16 06:02:47 +08:00
"build:examples" : "cd examples && node buildAll.js" ,
2019-07-12 16:22:32 +08:00
"type-report" : "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html" ,
2018-04-04 18:28:03 +08:00
"pretest" : "yarn lint" ,
"prelint" : "yarn setup" ,
2021-11-03 19:28:46 +08:00
"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" ,
2025-03-07 23:32:55 +08:00
"code-lint" : "node node_modules/eslint/bin/eslint.js --cache ." ,
2020-03-21 21:01:38 +08:00
"type-lint" : "tsc" ,
2025-03-14 06:20:37 +08:00
"type-validate" : "tsc -p tsconfig.validation.json" ,
2021-11-03 19:28:46 +08:00
"typings-test" : "tsc -p tsconfig.types.test.json" ,
"module-typings-test" : "tsc -p tsconfig.module.test.json" ,
2024-03-13 22:14:13 +08:00
"spellcheck" : "cspell --cache --no-must-find-files --quiet \"**/*.*\"" ,
2023-04-07 02:08:11 +08:00
"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" ,
2023-04-07 02:02:10 +08:00
"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" ,
2020-03-23 15:57:00 +08:00
"fix" : "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix" ,
2024-03-13 21:36:17 +08:00
"prepare" : "husky" ,
2024-03-13 22:25:09 +08:00
"pretty-lint-base" : "node node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown ." ,
2024-07-30 22:21:50 +08:00
"pretty-lint-fix" : "yarn pretty-lint-base --log-level warn --write" ,
2020-03-30 16:55:51 +08:00
"pretty-lint" : "yarn pretty-lint-base --check" ,
2020-05-20 13:59:41 +08:00
"yarn-lint" : "yarn-deduplicate --fail --list -s highest yarn.lock" ,
"yarn-lint-fix" : "yarn-deduplicate -s highest yarn.lock" ,
2021-06-23 19:58:40 +08:00
"benchmark" : "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand" ,
2019-05-22 20:01:02 +08:00
"cover" : "yarn cover:all && yarn cover:report" ,
2021-05-10 22:51:26 +08:00
"cover:clean" : "rimraf .nyc_output coverage" ,
2021-07-08 16:30:03 +08:00
"cover:all" : "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --coverage" ,
2021-07-13 22:50:12 +08:00
"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" ,
"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" ,
2021-07-15 22:00:49 +08:00
"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" ,
"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" ,
2021-06-23 19:58:40 +08:00
"cover:unit" : "node --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage" ,
2020-03-21 21:01:38 +08:00
"cover:types" : "node node_modules/tooling/type-coverage" ,
2021-07-15 23:44:53 +08:00
"cover:merge" : "yarn mkdirp .nyc_output && nyc merge .nyc_output coverage/coverage-nyc.json && rimraf .nyc_output" ,
2023-05-09 14:41:00 +08:00
"cover:report" : "nyc report --reporter=lcov --reporter=text -t coverage"
2018-01-24 20:17:21 +08:00
} ,
2018-05-16 19:43:54 +08:00
"lint-staged" : {
2023-04-13 02:09:24 +08:00
"*.{js,cjs,mjs}" : [
2025-03-07 23:32:55 +08:00
"node node_modules/eslint/bin/eslint.js --cache --fix"
2020-03-13 17:13:55 +08:00
] ,
2023-04-13 02:09:24 +08:00
"*" : [
2024-07-31 05:43:19 +08:00
"node node_modules/prettier/bin/prettier.cjs --cache --write --ignore-unknown" ,
2024-03-13 22:14:13 +08:00
"cspell --cache --no-must-find-files"
2018-05-16 19:43:54 +08:00
]
2025-03-13 22:24:10 +08:00
} ,
"packageManager" : "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
2022-01-12 16:23:00 +08:00
}