UNPKG

9.67 kBJSONView Raw
1{
2 "name": "webpack",
3 "version": "5.37.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.47",
10 "@webassemblyjs/ast": "1.11.0",
11 "@webassemblyjs/wasm-edit": "1.11.0",
12 "@webassemblyjs/wasm-parser": "1.11.0",
13 "acorn": "^8.2.1",
14 "browserslist": "^4.14.5",
15 "chrome-trace-event": "^1.0.2",
16 "enhanced-resolve": "^5.8.0",
17 "es-module-lexer": "^0.4.0",
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 "schema-utils": "^3.0.0",
27 "tapable": "^2.1.1",
28 "terser-webpack-plugin": "^5.1.1",
29 "watchpack": "^2.0.0",
30 "webpack-sources": "^2.1.1"
31 },
32 "peerDependenciesMeta": {
33 "webpack-cli": {
34 "optional": true
35 }
36 },
37 "devDependencies": {
38 "@babel/core": "^7.11.1",
39 "@babel/preset-react": "^7.10.4",
40 "@types/es-module-lexer": "^0.3.0",
41 "@types/jest": "^26.0.15",
42 "@types/node": "^15.0.1",
43 "babel-loader": "^8.1.0",
44 "benchmark": "^2.1.4",
45 "bundle-loader": "^0.5.6",
46 "coffee-loader": "^1.0.0",
47 "coffeescript": "^2.5.1",
48 "core-js": "^3.6.5",
49 "coveralls": "^3.1.0",
50 "cspell": "^4.0.63",
51 "css-loader": "^5.0.1",
52 "date-fns": "^2.15.0",
53 "es5-ext": "^0.10.53",
54 "es6-promise-polyfill": "^1.2.0",
55 "eslint": "^7.14.0",
56 "eslint-config-prettier": "^8.1.0",
57 "eslint-plugin-jest": "^24.1.3",
58 "eslint-plugin-jsdoc": "^33.0.0",
59 "eslint-plugin-node": "^11.0.0",
60 "eslint-plugin-prettier": "^3.1.4",
61 "file-loader": "^6.0.0",
62 "fork-ts-checker-webpack-plugin": "^6.0.5",
63 "husky": "^6.0.0",
64 "is-ci": "^3.0.0",
65 "istanbul": "^0.4.5",
66 "jest": "^26.6.3",
67 "jest-diff": "^26.6.2",
68 "jest-junit": "^12.0.0",
69 "json-loader": "^0.5.7",
70 "json5": "^2.1.3",
71 "less": "^4.0.0",
72 "less-loader": "^8.0.0",
73 "lint-staged": "^10.2.11",
74 "loader-utils": "^2.0.0",
75 "lodash": "^4.17.19",
76 "lodash-es": "^4.17.15",
77 "memfs": "^3.2.0",
78 "mini-css-extract-plugin": "^1.0.0",
79 "mini-svg-data-uri": "^1.2.3",
80 "open-cli": "^6.0.1",
81 "prettier": "^2.2.0",
82 "pretty-format": "^26.3.0",
83 "pug": "^3.0.0",
84 "pug-loader": "^2.4.0",
85 "raw-loader": "^4.0.1",
86 "react": "^17.0.1",
87 "react-dom": "^17.0.1",
88 "rimraf": "^3.0.2",
89 "script-loader": "^0.7.2",
90 "simple-git": "^2.17.0",
91 "strip-ansi": "^6.0.0",
92 "style-loader": "^2.0.0",
93 "terser": "^5.5.0",
94 "toml": "^3.0.0",
95 "tooling": "webpack/tooling#v1.19.0",
96 "ts-loader": "^8.0.2",
97 "typescript": "^4.2.0-beta",
98 "url-loader": "^4.1.0",
99 "wast-loader": "^1.11.0",
100 "webassembly-feature": "1.3.0",
101 "webpack-cli": "^4.3.0",
102 "xxhashjs": "^0.2.2",
103 "yamljs": "^0.3.0",
104 "yarn-deduplicate": "^3.1.0"
105 },
106 "engines": {
107 "node": ">=10.13.0"
108 },
109 "repository": {
110 "type": "git",
111 "url": "https://github.com/webpack/webpack.git"
112 },
113 "funding": {
114 "type": "opencollective",
115 "url": "https://opencollective.com/webpack"
116 },
117 "homepage": "https://github.com/webpack/webpack",
118 "main": "lib/index.js",
119 "bin": {
120 "webpack": "bin/webpack.js"
121 },
122 "types": "types.d.ts",
123 "files": [
124 "lib/",
125 "bin/",
126 "hot/",
127 "schemas/",
128 "SECURITY.md",
129 "types.d.ts"
130 ],
131 "scripts": {
132 "setup": "node ./setup/setup.js",
133 "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
134 "test:update-snapshots": "yarn jest -u",
135 "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
136 "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\"",
137 "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
138 "travis:integration": "yarn cover:integration --ci $JEST",
139 "travis:basic": "yarn cover:basic --ci $JEST",
140 "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
141 "travis:benchmark": "yarn benchmark --ci",
142 "appveyor:integration": "yarn cover:integration --ci %JEST%",
143 "appveyor:unit": "yarn cover:unit --ci %JEST%",
144 "appveyor:benchmark": "yarn benchmark --ci",
145 "build:examples": "cd examples && node buildAll.js",
146 "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
147 "pretest": "yarn lint",
148 "prelint": "yarn setup",
149 "lint": "yarn code-lint && yarn special-lint && yarn type-lint && yarn typings-lint && yarn yarn-lint && yarn pretty-lint && yarn spellcheck",
150 "code-lint": "eslint . --ext '.js' --cache",
151 "type-lint": "tsc",
152 "typings-lint": "tsc -p tsconfig.test.json",
153 "spellcheck": "cspell \"{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}\" \"*.md\"",
154 "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",
155 "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",
156 "fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
157 "prepare": "husky install",
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 "lint-staged": {
174 "*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
175 "eslint --cache"
176 ],
177 "*.{ts,json,yml,yaml,md}|examples/*.md": [
178 "prettier --check"
179 ],
180 "*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}": [
181 "cspell"
182 ]
183 },
184 "jest": {
185 "forceExit": true,
186 "setupFilesAfterEnv": [
187 "<rootDir>/test/setupTestFramework.js"
188 ],
189 "testMatch": [
190 "<rootDir>/test/*.test.js",
191 "<rootDir>/test/*.unittest.js"
192 ],
193 "watchPathIgnorePatterns": [
194 "<rootDir>/.git",
195 "<rootDir>/node_modules",
196 "<rootDir>/test/js",
197 "<rootDir>/test/browsertest/js",
198 "<rootDir>/test/fixtures/temp-cache-fixture",
199 "<rootDir>/test/fixtures/temp-",
200 "<rootDir>/benchmark",
201 "<rootDir>/examples/*/dist",
202 "<rootDir>/coverage",
203 "<rootDir>/.eslintcache"
204 ],
205 "modulePathIgnorePatterns": [
206 "<rootDir>/.git",
207 "<rootDir>/node_modules/webpack/node_modules",
208 "<rootDir>/test/js",
209 "<rootDir>/test/browsertest/js",
210 "<rootDir>/test/fixtures/temp-cache-fixture",
211 "<rootDir>/test/fixtures/temp-",
212 "<rootDir>/benchmark",
213 "<rootDir>/examples/*/dist",
214 "<rootDir>/coverage",
215 "<rootDir>/.eslintcache"
216 ],
217 "transformIgnorePatterns": [
218 "<rootDir>"
219 ],
220 "coverageDirectory": "<rootDir>/coverage",
221 "coveragePathIgnorePatterns": [
222 "\\.runtime\\.js$",
223 "<rootDir>/test",
224 "<rootDir>/schemas",
225 "<rootDir>/node_modules"
226 ],
227 "testEnvironment": "node",
228 "coverageReporters": [
229 "json"
230 ]
231 }
232}