[6a3a178] | 1 | {
|
---|
| 2 | "name": "webpack",
|
---|
| 3 | "version": "5.50.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.0",
|
---|
| 9 | "@types/estree": "^0.0.50",
|
---|
| 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.8.0",
|
---|
| 18 | "es-module-lexer": "^0.7.1",
|
---|
| 19 | "eslint-scope": "5.1.1",
|
---|
| 20 | "events": "^3.2.0",
|
---|
| 21 | "glob-to-regexp": "^0.4.1",
|
---|
| 22 | "graceful-fs": "^4.2.4",
|
---|
| 23 | "json-parse-better-errors": "^1.0.2",
|
---|
| 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.2.0",
|
---|
| 31 | "webpack-sources": "^3.2.0"
|
---|
| 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": "^26.0.24",
|
---|
| 43 | "@types/node": "^15.0.1",
|
---|
| 44 | "babel-loader": "^8.1.0",
|
---|
| 45 | "benchmark": "^2.1.4",
|
---|
| 46 | "bundle-loader": "^0.5.6",
|
---|
| 47 | "coffee-loader": "^1.0.0",
|
---|
| 48 | "coffeescript": "^2.5.1",
|
---|
| 49 | "core-js": "^3.6.5",
|
---|
| 50 | "coveralls": "^3.1.0",
|
---|
| 51 | "cspell": "^4.0.63",
|
---|
| 52 | "css-loader": "^5.0.1",
|
---|
| 53 | "date-fns": "^2.15.0",
|
---|
| 54 | "es5-ext": "^0.10.53",
|
---|
| 55 | "es6-promise-polyfill": "^1.2.0",
|
---|
| 56 | "eslint": "^7.14.0",
|
---|
| 57 | "eslint-config-prettier": "^8.1.0",
|
---|
| 58 | "eslint-plugin-jest": "^24.3.6",
|
---|
| 59 | "eslint-plugin-jsdoc": "^33.0.0",
|
---|
| 60 | "eslint-plugin-node": "^11.0.0",
|
---|
| 61 | "eslint-plugin-prettier": "^3.1.4",
|
---|
| 62 | "file-loader": "^6.0.0",
|
---|
| 63 | "fork-ts-checker-webpack-plugin": "^6.0.5",
|
---|
| 64 | "husky": "^6.0.0",
|
---|
| 65 | "is-ci": "^3.0.0",
|
---|
| 66 | "istanbul": "^0.4.5",
|
---|
| 67 | "jest": "^27.0.6",
|
---|
| 68 | "jest-circus": "^27.0.6",
|
---|
| 69 | "jest-diff": "^27.0.2",
|
---|
| 70 | "jest-junit": "^12.0.0",
|
---|
| 71 | "json-loader": "^0.5.7",
|
---|
| 72 | "json5": "^2.1.3",
|
---|
| 73 | "less": "^4.0.0",
|
---|
| 74 | "less-loader": "^8.0.0",
|
---|
| 75 | "lint-staged": "^11.0.0",
|
---|
| 76 | "loader-utils": "^2.0.0",
|
---|
| 77 | "lodash": "^4.17.19",
|
---|
| 78 | "lodash-es": "^4.17.15",
|
---|
| 79 | "memfs": "^3.2.0",
|
---|
| 80 | "mini-css-extract-plugin": "^1.6.1",
|
---|
| 81 | "mini-svg-data-uri": "^1.2.3",
|
---|
| 82 | "nyc": "^15.1.0",
|
---|
| 83 | "open-cli": "^6.0.1",
|
---|
| 84 | "prettier": "^2.2.0",
|
---|
| 85 | "pretty-format": "^27.0.2",
|
---|
| 86 | "pug": "^3.0.0",
|
---|
| 87 | "pug-loader": "^2.4.0",
|
---|
| 88 | "raw-loader": "^4.0.1",
|
---|
| 89 | "react": "^17.0.1",
|
---|
| 90 | "react-dom": "^17.0.1",
|
---|
| 91 | "rimraf": "^3.0.2",
|
---|
| 92 | "script-loader": "^0.7.2",
|
---|
| 93 | "simple-git": "^2.17.0",
|
---|
| 94 | "strip-ansi": "^6.0.0",
|
---|
| 95 | "style-loader": "^2.0.0",
|
---|
| 96 | "terser": "^5.7.0",
|
---|
| 97 | "toml": "^3.0.0",
|
---|
| 98 | "tooling": "webpack/tooling#v1.19.0",
|
---|
| 99 | "ts-loader": "^8.0.2",
|
---|
| 100 | "typescript": "^4.2.0-beta",
|
---|
| 101 | "url-loader": "^4.1.0",
|
---|
| 102 | "wast-loader": "^1.11.0",
|
---|
| 103 | "webassembly-feature": "1.3.0",
|
---|
| 104 | "webpack-cli": "^4.3.0",
|
---|
| 105 | "xxhashjs": "^0.2.2",
|
---|
| 106 | "yamljs": "^0.3.0",
|
---|
| 107 | "yarn-deduplicate": "^3.1.0"
|
---|
| 108 | },
|
---|
| 109 | "engines": {
|
---|
| 110 | "node": ">=10.13.0"
|
---|
| 111 | },
|
---|
| 112 | "repository": {
|
---|
| 113 | "type": "git",
|
---|
| 114 | "url": "https://github.com/webpack/webpack.git"
|
---|
| 115 | },
|
---|
| 116 | "funding": {
|
---|
| 117 | "type": "opencollective",
|
---|
| 118 | "url": "https://opencollective.com/webpack"
|
---|
| 119 | },
|
---|
| 120 | "homepage": "https://github.com/webpack/webpack",
|
---|
| 121 | "main": "lib/index.js",
|
---|
| 122 | "bin": {
|
---|
| 123 | "webpack": "bin/webpack.js"
|
---|
| 124 | },
|
---|
| 125 | "types": "types.d.ts",
|
---|
| 126 | "files": [
|
---|
| 127 | "lib/",
|
---|
| 128 | "bin/",
|
---|
| 129 | "hot/",
|
---|
| 130 | "schemas/",
|
---|
| 131 | "SECURITY.md",
|
---|
| 132 | "types.d.ts"
|
---|
| 133 | ],
|
---|
| 134 | "scripts": {
|
---|
| 135 | "setup": "node ./setup/setup.js",
|
---|
| 136 | "jest": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage",
|
---|
| 137 | "test": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage",
|
---|
| 138 | "test:update-snapshots": "yarn jest -u",
|
---|
| 139 | "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\"",
|
---|
| 140 | "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\"",
|
---|
| 141 | "test:unit": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
|
---|
| 142 | "travis:integration": "yarn cover:integration --ci $JEST",
|
---|
| 143 | "travis:basic": "yarn cover:basic --ci $JEST",
|
---|
| 144 | "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
|
---|
| 145 | "travis:benchmark": "yarn benchmark --ci",
|
---|
| 146 | "appveyor:integration": "yarn cover:integration --ci %JEST%",
|
---|
| 147 | "appveyor:unit": "yarn cover:unit --ci %JEST%",
|
---|
| 148 | "appveyor:benchmark": "yarn benchmark --ci",
|
---|
| 149 | "build:examples": "cd examples && node buildAll.js",
|
---|
| 150 | "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
|
---|
| 151 | "pretest": "yarn lint",
|
---|
| 152 | "prelint": "yarn setup",
|
---|
| 153 | "lint": "yarn code-lint && yarn special-lint && yarn type-lint && yarn typings-lint && yarn yarn-lint && yarn pretty-lint && yarn spellcheck",
|
---|
| 154 | "code-lint": "eslint . --ext '.js' --cache",
|
---|
| 155 | "type-lint": "tsc",
|
---|
| 156 | "typings-lint": "tsc -p tsconfig.test.json",
|
---|
| 157 | "spellcheck": "cspell \"{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}\" \"*.md\"",
|
---|
| 158 | "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 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",
|
---|
| 159 | "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 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",
|
---|
| 160 | "fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
|
---|
| 161 | "prepare": "husky install",
|
---|
| 162 | "pretty-lint-base": "prettier \"*.{ts,json,yml,yaml,md}\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.json\" \"examples/*.md\"",
|
---|
| 163 | "pretty-lint-base-all": "yarn pretty-lint-base \"*.js\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases,benchmarkCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
|
---|
| 164 | "pretty-lint-fix": "yarn pretty-lint-base-all --loglevel warn --write",
|
---|
| 165 | "pretty-lint": "yarn pretty-lint-base --check",
|
---|
| 166 | "yarn-lint": "yarn-deduplicate --fail --list -s highest yarn.lock",
|
---|
| 167 | "yarn-lint-fix": "yarn-deduplicate -s highest yarn.lock",
|
---|
| 168 | "benchmark": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
|
---|
| 169 | "cover": "yarn cover:all && yarn cover:report",
|
---|
| 170 | "cover:clean": "rimraf .nyc_output coverage",
|
---|
| 171 | "cover:all": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --coverage",
|
---|
| 172 | "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",
|
---|
| 173 | "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",
|
---|
| 174 | "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",
|
---|
| 175 | "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",
|
---|
| 176 | "cover:unit": "node --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
|
---|
| 177 | "cover:types": "node node_modules/tooling/type-coverage",
|
---|
| 178 | "cover:merge": "yarn mkdirp .nyc_output && nyc merge .nyc_output coverage/coverage-nyc.json && rimraf .nyc_output",
|
---|
| 179 | "cover:report": "nyc report -t coverage"
|
---|
| 180 | },
|
---|
| 181 | "lint-staged": {
|
---|
| 182 | "*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
|
---|
| 183 | "eslint --cache"
|
---|
| 184 | ],
|
---|
| 185 | "*.{ts,json,yml,yaml,md}|examples/*.md": [
|
---|
| 186 | "prettier --check"
|
---|
| 187 | ],
|
---|
| 188 | "*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}": [
|
---|
| 189 | "cspell"
|
---|
| 190 | ]
|
---|
| 191 | },
|
---|
| 192 | "jest": {
|
---|
| 193 | "forceExit": true,
|
---|
| 194 | "setupFilesAfterEnv": [
|
---|
| 195 | "<rootDir>/test/setupTestFramework.js"
|
---|
| 196 | ],
|
---|
| 197 | "testMatch": [
|
---|
| 198 | "<rootDir>/test/*.test.js",
|
---|
| 199 | "<rootDir>/test/*.basictest.js",
|
---|
| 200 | "<rootDir>/test/*.longtest.js",
|
---|
| 201 | "<rootDir>/test/*.unittest.js"
|
---|
| 202 | ],
|
---|
| 203 | "watchPathIgnorePatterns": [
|
---|
| 204 | "<rootDir>/.git",
|
---|
| 205 | "<rootDir>/node_modules",
|
---|
| 206 | "<rootDir>/test/js",
|
---|
| 207 | "<rootDir>/test/browsertest/js",
|
---|
| 208 | "<rootDir>/test/fixtures/temp-cache-fixture",
|
---|
| 209 | "<rootDir>/test/fixtures/temp-",
|
---|
| 210 | "<rootDir>/benchmark",
|
---|
| 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 | }
|
---|