| 1 | {
|
|---|
| 2 | "name": "webpack",
|
|---|
| 3 | "version": "5.107.1",
|
|---|
| 4 | "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.",
|
|---|
| 5 | "homepage": "https://github.com/webpack/webpack",
|
|---|
| 6 | "bugs": "https://github.com/webpack/webpack/issues",
|
|---|
| 7 | "repository": {
|
|---|
| 8 | "type": "git",
|
|---|
| 9 | "url": "https://github.com/webpack/webpack.git"
|
|---|
| 10 | },
|
|---|
| 11 | "funding": {
|
|---|
| 12 | "type": "opencollective",
|
|---|
| 13 | "url": "https://opencollective.com/webpack"
|
|---|
| 14 | },
|
|---|
| 15 | "license": "MIT",
|
|---|
| 16 | "author": "Tobias Koppers @sokra",
|
|---|
| 17 | "main": "lib/index.js",
|
|---|
| 18 | "types": "types.d.ts",
|
|---|
| 19 | "bin": {
|
|---|
| 20 | "webpack": "bin/webpack.js"
|
|---|
| 21 | },
|
|---|
| 22 | "files": [
|
|---|
| 23 | "lib/",
|
|---|
| 24 | "bin/",
|
|---|
| 25 | "hot/",
|
|---|
| 26 | "schemas/",
|
|---|
| 27 | "SECURITY.md",
|
|---|
| 28 | "module.d.ts",
|
|---|
| 29 | "types.d.ts"
|
|---|
| 30 | ],
|
|---|
| 31 | "scripts": {
|
|---|
| 32 | "prepare": "husky",
|
|---|
| 33 | "setup": "node ./setup/setup.js",
|
|---|
| 34 | "prelint": "yarn setup",
|
|---|
| 35 | "lint": "yarn lint:code && yarn lint:special && yarn lint:types && yarn lint:types-test && yarn lint:types-benchmark && yarn lint:types-module-test && yarn lint:types-hot && yarn fmt:check && yarn lint:spellcheck",
|
|---|
| 36 | "lint:code": "node node_modules/eslint/bin/eslint.js --cache .",
|
|---|
| 37 | "lint:special": "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 tooling/generate-html-entities.js && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals",
|
|---|
| 38 | "lint:types": "tsc",
|
|---|
| 39 | "lint:types-test": "tsc -p tsconfig.types.test.json",
|
|---|
| 40 | "lint:types-benchmark": "tsc -p tsconfig.types.benchmark.json",
|
|---|
| 41 | "lint:types-hot": "tsc -p tsconfig.hot.json",
|
|---|
| 42 | "lint:types-module-test": "tsc -p tsconfig.module.test.json",
|
|---|
| 43 | "lint:spellcheck": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
|
|---|
| 44 | "validate:changeset": "node .changeset/changeset-validate.mjs",
|
|---|
| 45 | "validate:types": "tsc -p tsconfig.validation.json",
|
|---|
| 46 | "fmt": "yarn fmt:base --log-level warn --write",
|
|---|
| 47 | "fmt:check": "yarn fmt:base --check",
|
|---|
| 48 | "fmt:base": "node node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .",
|
|---|
| 49 | "fix": "yarn fix:code && yarn fix:special && yarn fmt",
|
|---|
| 50 | "fix:code": "yarn lint:code --fix",
|
|---|
| 51 | "fix:special": "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 tooling/generate-html-entities.js --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",
|
|---|
| 52 | "build:examples": "cd examples && node buildAll.js",
|
|---|
| 53 | "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",
|
|---|
| 54 | "pretest": "yarn lint",
|
|---|
| 55 | "test": "yarn test:base",
|
|---|
| 56 | "test:base": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage",
|
|---|
| 57 | "test:basic": "yarn test:base --testMatch \"<rootDir>/test/*.basictest.js\"",
|
|---|
| 58 | "test:basic:deno": "yarn test:base:deno --testMatch \"<rootDir>/test/*.basictest.js\"",
|
|---|
| 59 | "test:unit": "yarn test:base --testMatch \"<rootDir>/test/*.unittest.js\"",
|
|---|
| 60 | "test:integration": "yarn test:base --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\"",
|
|---|
| 61 | "test:integration:a": "yarn test:base --testMatch \"<rootDir>/test/*.{basictest,test}.js\"",
|
|---|
| 62 | "test:integration:b": "yarn test:base --testMatch \"<rootDir>/test/*.longtest.js\"",
|
|---|
| 63 | "test:test262": "yarn test:base --testMatch \"<rootDir>/test/*.spectest.js\"",
|
|---|
| 64 | "test:base:deno": "deno --allow-read --allow-env --allow-sys --allow-ffi --allow-write --allow-run --v8-flags='--max-old-space-size=4096' ./node_modules/jest-cli/bin/jest.js --logHeapUsage",
|
|---|
| 65 | "test:update-snapshots": "yarn test:base -u",
|
|---|
| 66 | "report:cover": "nyc report --reporter=lcov --reporter=text -t coverage",
|
|---|
| 67 | "report:cover:clean": "rimraf .nyc_output coverage",
|
|---|
| 68 | "report:cover:merge": "yarn mkdirp .nyc_output && nyc merge .nyc_output coverage/coverage-nyc.json && rimraf .nyc_output",
|
|---|
| 69 | "types:cover": "node node_modules/tooling/type-coverage",
|
|---|
| 70 | "types:cover:report": "rimraf coverage && yarn types:cover && yarn report:cover && open-cli coverage/lcov-report/index.html",
|
|---|
| 71 | "cover": "yarn cover:all && yarn report:cover",
|
|---|
| 72 | "cover:base": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage",
|
|---|
| 73 | "cover:all": "yarn cover:base --coverage",
|
|---|
| 74 | "cover:unit": "yarn cover:base --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
|
|---|
| 75 | "cover:basic": "yarn cover:base --testMatch \"<rootDir>/test/*.basictest.js\" --coverage",
|
|---|
| 76 | "cover:integration": "yarn cover:base --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\" --coverage",
|
|---|
| 77 | "cover:integration:a": "yarn cover:base --testMatch \"<rootDir>/test/*.{basictest,test}.js\" --coverage",
|
|---|
| 78 | "cover:integration:b": "yarn cover:base --testMatch \"<rootDir>/test/*.longtest.js\" --coverage",
|
|---|
| 79 | "cover:test262": "yarn cover:base --testMatch \"<rootDir>/test/*.spectest.js\" --coverage"
|
|---|
| 80 | },
|
|---|
| 81 | "lint-staged": {
|
|---|
| 82 | "*.{js,cjs,mjs}": [
|
|---|
| 83 | "node node_modules/eslint/bin/eslint.js --cache --fix"
|
|---|
| 84 | ],
|
|---|
| 85 | "*": [
|
|---|
| 86 | "node node_modules/prettier/bin/prettier.cjs --cache --write --ignore-unknown",
|
|---|
| 87 | "cspell --cache --no-must-find-files"
|
|---|
| 88 | ]
|
|---|
| 89 | },
|
|---|
| 90 | "dependencies": {
|
|---|
| 91 | "@types/estree": "^1.0.8",
|
|---|
| 92 | "@types/json-schema": "^7.0.15",
|
|---|
| 93 | "@webassemblyjs/ast": "^1.14.1",
|
|---|
| 94 | "@webassemblyjs/wasm-edit": "^1.14.1",
|
|---|
| 95 | "@webassemblyjs/wasm-parser": "^1.14.1",
|
|---|
| 96 | "acorn": "^8.16.0",
|
|---|
| 97 | "acorn-import-phases": "^1.0.3",
|
|---|
| 98 | "browserslist": "^4.28.1",
|
|---|
| 99 | "chrome-trace-event": "^1.0.2",
|
|---|
| 100 | "enhanced-resolve": "^5.21.4",
|
|---|
| 101 | "es-module-lexer": "^2.1.0",
|
|---|
| 102 | "eslint-scope": "5.1.1",
|
|---|
| 103 | "events": "^3.2.0",
|
|---|
| 104 | "glob-to-regexp": "^0.4.1",
|
|---|
| 105 | "graceful-fs": "^4.2.11",
|
|---|
| 106 | "loader-runner": "^4.3.2",
|
|---|
| 107 | "mime-db": "^1.54.0",
|
|---|
| 108 | "neo-async": "^2.6.2",
|
|---|
| 109 | "schema-utils": "^4.3.3",
|
|---|
| 110 | "tapable": "^2.3.0",
|
|---|
| 111 | "terser-webpack-plugin": "^5.5.0",
|
|---|
| 112 | "watchpack": "^2.5.1",
|
|---|
| 113 | "webpack-sources": "^3.4.1"
|
|---|
| 114 | },
|
|---|
| 115 | "devDependencies": {
|
|---|
| 116 | "@babel/core": "^7.27.1",
|
|---|
| 117 | "@babel/preset-react": "^7.27.1",
|
|---|
| 118 | "@changesets/cli": "^2.29.8",
|
|---|
| 119 | "@changesets/get-github-info": "^0.8.0",
|
|---|
| 120 | "@codspeed/core": "^5.4.0",
|
|---|
| 121 | "@types/eslint-scope": "^3.7.7",
|
|---|
| 122 | "@types/glob-to-regexp": "^0.4.4",
|
|---|
| 123 | "@types/graceful-fs": "^4.1.9",
|
|---|
| 124 | "@types/jest": "^30.0.0",
|
|---|
| 125 | "@types/mime-db": "^1.43.6",
|
|---|
| 126 | "@types/neo-async": "^2.6.7",
|
|---|
| 127 | "@types/node": "^25.6.0",
|
|---|
| 128 | "@types/xxhashjs": "^0.2.4",
|
|---|
| 129 | "@webdiscus/pug-loader": "^2.11.1",
|
|---|
| 130 | "assemblyscript": "^0.28.17",
|
|---|
| 131 | "babel-loader": "^10.0.0",
|
|---|
| 132 | "bundle-loader": "^0.5.6",
|
|---|
| 133 | "coffee-loader": "^5.0.0",
|
|---|
| 134 | "coffeescript": "^2.5.1",
|
|---|
| 135 | "core-js": "^3.47.0",
|
|---|
| 136 | "cspell": "^10.0.0",
|
|---|
| 137 | "css-loader": "^7.1.2",
|
|---|
| 138 | "date-fns": "^4.2.1",
|
|---|
| 139 | "es5-ext": "^0.10.53",
|
|---|
| 140 | "es6-promise-polyfill": "^1.2.0",
|
|---|
| 141 | "eslint": "^9.39.2",
|
|---|
| 142 | "eslint-config-webpack": "^4.9.3",
|
|---|
| 143 | "file-loader": "^6.0.0",
|
|---|
| 144 | "fork-ts-checker-webpack-plugin": "^9.0.2",
|
|---|
| 145 | "globals": "^17.6.0",
|
|---|
| 146 | "hash-wasm": "^4.9.0",
|
|---|
| 147 | "html-loader": "^5.1.0",
|
|---|
| 148 | "husky": "^9.0.11",
|
|---|
| 149 | "istanbul": "^0.4.5",
|
|---|
| 150 | "jest": "^30.3.0",
|
|---|
| 151 | "jest-circus": "^30.3.0",
|
|---|
| 152 | "jest-cli": "^30.3.0",
|
|---|
| 153 | "jest-diff": "^30.3.0",
|
|---|
| 154 | "jest-environment-node": "^30.3.0",
|
|---|
| 155 | "jest-snapshot": "^30.3.0",
|
|---|
| 156 | "jest-junit": "^17.0.0",
|
|---|
| 157 | "json-loader": "^0.5.7",
|
|---|
| 158 | "json5": "^2.1.3",
|
|---|
| 159 | "less": "^4.6.4",
|
|---|
| 160 | "less-loader": "^12.3.2",
|
|---|
| 161 | "lint-staged": "^17.0.5",
|
|---|
| 162 | "lodash": "^4.17.19",
|
|---|
| 163 | "lodash-es": "^4.17.15",
|
|---|
| 164 | "memfs": "^4.51.1",
|
|---|
| 165 | "meriyah": "^7.0.0",
|
|---|
| 166 | "mini-css-extract-plugin": "^2.9.0",
|
|---|
| 167 | "mini-svg-data-uri": "^1.2.3",
|
|---|
| 168 | "node-gyp": "^12.1.0",
|
|---|
| 169 | "nyc": "^18.0.0",
|
|---|
| 170 | "open-cli": "^9.0.0",
|
|---|
| 171 | "oxc-parser": "^0.132.0",
|
|---|
| 172 | "pkg-pr-new": "^0.0.75",
|
|---|
| 173 | "prettier": "^3.8.2",
|
|---|
| 174 | "prettier-2": "npm:prettier@^2",
|
|---|
| 175 | "pretty-format": "^30.0.5",
|
|---|
| 176 | "pug": "^3.0.3",
|
|---|
| 177 | "raw-loader": "^4.0.1",
|
|---|
| 178 | "react": "^19.2.5",
|
|---|
| 179 | "react-dom": "^19.2.5",
|
|---|
| 180 | "rehype-sanitize": "^6.0.0",
|
|---|
| 181 | "rehype-stringify": "^10.0.1",
|
|---|
| 182 | "remark-frontmatter": "^5.0.0",
|
|---|
| 183 | "remark-gfm": "^4.0.1",
|
|---|
| 184 | "remark-parse": "^11.0.0",
|
|---|
| 185 | "remark-rehype": "^11.1.2",
|
|---|
| 186 | "rimraf": "^3.0.2",
|
|---|
| 187 | "script-loader": "^0.7.2",
|
|---|
| 188 | "simple-git": "^3.28.0",
|
|---|
| 189 | "style-loader": "^4.0.0",
|
|---|
| 190 | "terser": "^5.46.2",
|
|---|
| 191 | "three": "^0.184.0",
|
|---|
| 192 | "tinybench": "^6.0.1",
|
|---|
| 193 | "toml": "^4.1.1",
|
|---|
| 194 | "tooling": "webpack/tooling#v1.26.2",
|
|---|
| 195 | "ts-loader": "^9.5.7",
|
|---|
| 196 | "typescript": "^6.0.3",
|
|---|
| 197 | "unified": "^11.0.5",
|
|---|
| 198 | "url-loader": "^4.1.0",
|
|---|
| 199 | "wast-loader": "^1.12.1",
|
|---|
| 200 | "webassembly-feature": "1.3.0",
|
|---|
| 201 | "webpack-cli": "^7.0.2",
|
|---|
| 202 | "xxhashjs": "^0.2.2",
|
|---|
| 203 | "yamljs": "^0.3.0"
|
|---|
| 204 | },
|
|---|
| 205 | "peerDependenciesMeta": {
|
|---|
| 206 | "webpack-cli": {
|
|---|
| 207 | "optional": true
|
|---|
| 208 | }
|
|---|
| 209 | },
|
|---|
| 210 | "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|---|
| 211 | "engines": {
|
|---|
| 212 | "node": ">=10.13.0"
|
|---|
| 213 | }
|
|---|
| 214 | }
|
|---|