UNPKG

9.63 kBJSONView Raw
1{
2 "name": "webpack",
3 "version": "5.19.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.46",
10 "@webassemblyjs/ast": "1.11.0",
11 "@webassemblyjs/wasm-edit": "1.11.0",
12 "@webassemblyjs/wasm-parser": "1.11.0",
13 "acorn": "^8.0.4",
14 "browserslist": "^4.14.5",
15 "chrome-trace-event": "^1.0.2",
16 "enhanced-resolve": "^5.7.0",
17 "es-module-lexer": "^0.3.26",
18 "eslint-scope": "^5.1.1",
19 "events": "^3.2.0",
20 "glob-to-regexp": "^0.4.1",
21 "graceful-fs": "^4.2.4",
22 "json-parse-better-errors": "^1.0.2",
23 "loader-runner": "^4.2.0",
24 "mime-types": "^2.1.27",
25 "neo-async": "^2.6.2",
26 "pkg-dir": "^5.0.0",
27 "schema-utils": "^3.0.0",
28 "tapable": "^2.1.1",
29 "terser-webpack-plugin": "^5.1.1",
30 "watchpack": "^2.0.0",
31 "webpack-sources": "^2.1.1"
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.3.0",
42 "@types/jest": "^26.0.15",
43 "@types/node": "^14.14.10",
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": "^7.0.0",
58 "eslint-plugin-jest": "^24.1.3",
59 "eslint-plugin-jsdoc": "^31.0.3",
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": "^4.2.5",
65 "is-ci": "^2.0.0",
66 "istanbul": "^0.4.5",
67 "jest": "^26.6.3",
68 "jest-diff": "^26.6.2",
69 "jest-junit": "^12.0.0",
70 "json-loader": "^0.5.7",
71 "json5": "^2.1.3",
72 "less": "^4.0.0",
73 "less-loader": "^7.1.0",
74 "lint-staged": "^10.2.11",
75 "loader-utils": "^2.0.0",
76 "lodash": "^4.17.19",
77 "lodash-es": "^4.17.15",
78 "memfs": "^3.2.0",
79 "mini-css-extract-plugin": "^1.0.0",
80 "mini-svg-data-uri": "^1.2.3",
81 "open-cli": "^6.0.1",
82 "prettier": "^2.2.0",
83 "pretty-format": "^26.3.0",
84 "pug": "^3.0.0",
85 "pug-loader": "^2.4.0",
86 "raw-loader": "^4.0.1",
87 "react": "^17.0.1",
88 "react-dom": "^17.0.1",
89 "rimraf": "^3.0.2",
90 "script-loader": "^0.7.2",
91 "simple-git": "^2.17.0",
92 "strip-ansi": "^6.0.0",
93 "style-loader": "^2.0.0",
94 "terser": "^5.5.0",
95 "toml": "^3.0.0",
96 "tooling": "webpack/tooling#v1.14.0",
97 "ts-loader": "^8.0.2",
98 "typescript": "^4.2.0-beta",
99 "url-loader": "^4.1.0",
100 "wast-loader": "^1.11.0",
101 "webassembly-feature": "1.3.0",
102 "webpack-cli": "^4.3.0",
103 "xxhashjs": "^0.2.2",
104 "yamljs": "^0.3.0",
105 "yarn-deduplicate": "^3.1.0"
106 },
107 "engines": {
108 "node": ">=10.13.0"
109 },
110 "repository": {
111 "type": "git",
112 "url": "https://github.com/webpack/webpack.git"
113 },
114 "funding": {
115 "type": "opencollective",
116 "url": "https://opencollective.com/webpack"
117 },
118 "homepage": "https://github.com/webpack/webpack",
119 "main": "lib/index.js",
120 "bin": {
121 "webpack": "bin/webpack.js"
122 },
123 "types": "types.d.ts",
124 "files": [
125 "lib/",
126 "bin/",
127 "hot/",
128 "schemas/",
129 "SECURITY.md",
130 "types.d.ts"
131 ],
132 "scripts": {
133 "setup": "node ./setup/setup.js",
134 "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
135 "test:update-snapshots": "yarn jest -u",
136 "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
137 "test:basic": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/te{st/TestCasesNormal,st/StatsTestCases,st/ConfigTestCases}.test.js\"",
138 "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
139 "travis:integration": "yarn cover:integration --ci $JEST",
140 "travis:basic": "yarn cover:basic --ci $JEST",
141 "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
142 "travis:benchmark": "yarn benchmark --ci",
143 "appveyor:integration": "yarn cover:integration --ci %JEST%",
144 "appveyor:unit": "yarn cover:unit --ci %JEST%",
145 "appveyor:benchmark": "yarn benchmark --ci",
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-lint && yarn yarn-lint && yarn pretty-lint && yarn spellcheck",
151 "code-lint": "eslint . --ext '.js' --cache",
152 "type-lint": "tsc",
153 "typings-lint": "tsc -p tsconfig.test.json",
154 "spellcheck": "cspell \"{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}\" \"*.md\"",
155 "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/generate-types --no-template-literals",
156 "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/generate-types --no-template-literals --write",
157 "fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
158 "pretty-lint-base": "prettier \"*.{ts,json,yml,yaml,md}\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.json\" \"examples/*.md\"",
159 "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\"",
160 "pretty-lint-fix": "yarn pretty-lint-base-all --loglevel warn --write",
161 "pretty-lint": "yarn pretty-lint-base --check",
162 "yarn-lint": "yarn-deduplicate --fail --list -s highest yarn.lock",
163 "yarn-lint-fix": "yarn-deduplicate -s highest yarn.lock",
164 "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
165 "cover": "yarn cover:all && yarn cover:report",
166 "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
167 "cover:basic": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/te{st/TestCasesNormal,st/StatsTestCases,st/ConfigTestCases}.test.js\" --coverage",
168 "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
169 "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
170 "cover:types": "node node_modules/tooling/type-coverage",
171 "cover:report": "istanbul report"
172 },
173 "husky": {
174 "hooks": {
175 "pre-commit": "lint-staged"
176 }
177 },
178 "lint-staged": {
179 "*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
180 "eslint --cache"
181 ],
182 "*.{ts,json,yml,yaml,md}|examples/*.md": [
183 "prettier --check"
184 ],
185 "*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}": [
186 "cspell"
187 ]
188 },
189 "jest": {
190 "forceExit": true,
191 "setupFilesAfterEnv": [
192 "<rootDir>/test/setupTestFramework.js"
193 ],
194 "testMatch": [
195 "<rootDir>/test/*.test.js",
196 "<rootDir>/test/*.unittest.js"
197 ],
198 "watchPathIgnorePatterns": [
199 "<rootDir>/.git",
200 "<rootDir>/node_modules",
201 "<rootDir>/test/js",
202 "<rootDir>/test/browsertest/js",
203 "<rootDir>/test/fixtures/temp-cache-fixture",
204 "<rootDir>/test/fixtures/temp-",
205 "<rootDir>/benchmark",
206 "<rootDir>/examples/*/dist",
207 "<rootDir>/coverage",
208 "<rootDir>/.eslintcache"
209 ],
210 "modulePathIgnorePatterns": [
211 "<rootDir>/.git",
212 "<rootDir>/node_modules/webpack/node_modules",
213 "<rootDir>/test/js",
214 "<rootDir>/test/browsertest/js",
215 "<rootDir>/test/fixtures/temp-cache-fixture",
216 "<rootDir>/test/fixtures/temp-",
217 "<rootDir>/benchmark",
218 "<rootDir>/examples/*/dist",
219 "<rootDir>/coverage",
220 "<rootDir>/.eslintcache"
221 ],
222 "transformIgnorePatterns": [
223 "<rootDir>"
224 ],
225 "coverageDirectory": "<rootDir>/coverage",
226 "coveragePathIgnorePatterns": [
227 "\\.runtime\\.js$",
228 "<rootDir>/test",
229 "<rootDir>/schemas",
230 "<rootDir>/node_modules"
231 ],
232 "testEnvironment": "node",
233 "coverageReporters": [
234 "json"
235 ]
236 }
237}