1
|
{
|
2
|
"name": "webpack",
|
3
|
"version": "4.42.1",
|
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
|
"@webassemblyjs/ast": "1.9.0",
|
9
|
"@webassemblyjs/helper-module-context": "1.9.0",
|
10
|
"@webassemblyjs/wasm-edit": "1.9.0",
|
11
|
"@webassemblyjs/wasm-parser": "1.9.0",
|
12
|
"acorn": "^6.2.1",
|
13
|
"ajv": "^6.10.2",
|
14
|
"ajv-keywords": "^3.4.1",
|
15
|
"chrome-trace-event": "^1.0.2",
|
16
|
"enhanced-resolve": "^4.1.0",
|
17
|
"eslint-scope": "^4.0.3",
|
18
|
"json-parse-better-errors": "^1.0.2",
|
19
|
"loader-runner": "^2.4.0",
|
20
|
"loader-utils": "^1.2.3",
|
21
|
"memory-fs": "^0.4.1",
|
22
|
"micromatch": "^3.1.10",
|
23
|
"mkdirp": "^0.5.3",
|
24
|
"neo-async": "^2.6.1",
|
25
|
"node-libs-browser": "^2.2.1",
|
26
|
"schema-utils": "^1.0.0",
|
27
|
"tapable": "^1.1.3",
|
28
|
"terser-webpack-plugin": "^1.4.3",
|
29
|
"watchpack": "^1.6.0",
|
30
|
"webpack-sources": "^1.4.1"
|
31
|
},
|
32
|
"devDependencies": {
|
33
|
"@babel/core": "^7.7.2",
|
34
|
"@types/node": "^10.12.21",
|
35
|
"@types/tapable": "^1.0.1",
|
36
|
"@types/webpack-sources": "^0.1.4",
|
37
|
"@yarnpkg/lockfile": "^1.1.0",
|
38
|
"babel-loader": "^8.0.6",
|
39
|
"benchmark": "^2.1.1",
|
40
|
"bundle-loader": "~0.5.0",
|
41
|
"coffee-loader": "^0.9.0",
|
42
|
"coffeescript": "^2.3.2",
|
43
|
"coveralls": "^3.0.2",
|
44
|
"css-loader": "^2.1.0",
|
45
|
"es6-promise-polyfill": "^1.1.1",
|
46
|
"eslint": "^5.8.0",
|
47
|
"eslint-config-prettier": "^4.0.0",
|
48
|
"eslint-plugin-jest": "^22.2.2",
|
49
|
"eslint-plugin-jsdoc": "^15.3.2",
|
50
|
"eslint-plugin-node": "^8.0.0",
|
51
|
"eslint-plugin-prettier": "^3.0.0",
|
52
|
"express": "~4.16.4",
|
53
|
"file-loader": "^3.0.1",
|
54
|
"glob": "^7.1.3",
|
55
|
"husky": "^1.1.3",
|
56
|
"i18n-webpack-plugin": "^1.0.0",
|
57
|
"istanbul": "^0.4.5",
|
58
|
"jest": "^24.9.0",
|
59
|
"jest-junit": "^8.0.0",
|
60
|
"json-loader": "^0.5.7",
|
61
|
"json-schema-to-typescript": "^6.0.1",
|
62
|
"less": "^3.9.0",
|
63
|
"less-loader": "^4.0.3",
|
64
|
"lint-staged": "^8.0.4",
|
65
|
"lodash": "^4.17.4",
|
66
|
"prettier": "^1.14.3",
|
67
|
"pug": "^2.0.4",
|
68
|
"pug-loader": "^2.4.0",
|
69
|
"raw-loader": "^1.0.0",
|
70
|
"react": "^16.8.0",
|
71
|
"react-dom": "^16.8.0",
|
72
|
"rimraf": "^2.6.2",
|
73
|
"script-loader": "~0.7.0",
|
74
|
"simple-git": "^1.65.0",
|
75
|
"strip-ansi": "^5.2.0",
|
76
|
"style-loader": "^0.23.1",
|
77
|
"typescript": "^3.0.0-rc",
|
78
|
"url-loader": "^1.1.2",
|
79
|
"val-loader": "^1.0.2",
|
80
|
"vm-browserify": "~1.1.0",
|
81
|
"wast-loader": "^1.5.5",
|
82
|
"webpack-dev-middleware": "^3.5.1",
|
83
|
"webassembly-feature": "1.3.0",
|
84
|
"worker-loader": "^2.0.0",
|
85
|
"xxhashjs": "^0.2.1"
|
86
|
},
|
87
|
"engines": {
|
88
|
"node": ">=6.11.5"
|
89
|
},
|
90
|
"repository": {
|
91
|
"type": "git",
|
92
|
"url": "https://github.com/webpack/webpack.git"
|
93
|
},
|
94
|
"funding": {
|
95
|
"type": "opencollective",
|
96
|
"url": "https://opencollective.com/webpack"
|
97
|
},
|
98
|
"homepage": "https://github.com/webpack/webpack",
|
99
|
"main": "lib/webpack.js",
|
100
|
"web": "lib/webpack.web.js",
|
101
|
"bin": "./bin/webpack.js",
|
102
|
"files": [
|
103
|
"lib/",
|
104
|
"bin/",
|
105
|
"buildin/",
|
106
|
"declarations/",
|
107
|
"hot/",
|
108
|
"web_modules/",
|
109
|
"schemas/",
|
110
|
"SECURITY.md"
|
111
|
],
|
112
|
"scripts": {
|
113
|
"setup": "node ./setup/setup.js",
|
114
|
"test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
|
115
|
"test:update-snapshots": "yarn jest -u",
|
116
|
"test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
|
117
|
"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\"",
|
118
|
"test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
|
119
|
"travis:integration": "yarn cover:integration --ci $JEST",
|
120
|
"travis:basic": "yarn cover:basic --ci $JEST",
|
121
|
"travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
|
122
|
"travis:benchmark": "yarn benchmark --ci",
|
123
|
"appveyor:integration": "yarn cover:integration --ci %JEST%",
|
124
|
"appveyor:unit": "yarn cover:unit --ci %JEST%",
|
125
|
"appveyor:benchmark": "yarn benchmark --ci",
|
126
|
"build:examples": "cd examples && node buildAll.js",
|
127
|
"pretest": "yarn lint",
|
128
|
"prelint": "yarn setup",
|
129
|
"lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
|
130
|
"code-lint": "eslint . --ext '.js' --cache",
|
131
|
"type-lint": "tsc --pretty",
|
132
|
"special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
|
133
|
"special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
|
134
|
"fix": "yarn code-lint --fix && yarn special-lint-fix",
|
135
|
"pretty": "prettier --loglevel warn --write \"*.{ts,js,json,yml,yaml}\" \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.{js,json}\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
|
136
|
"jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
|
137
|
"benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
|
138
|
"cover": "yarn cover:all && yarn cover:report",
|
139
|
"cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
|
140
|
"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",
|
141
|
"cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
|
142
|
"cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
|
143
|
"cover:report": "istanbul report"
|
144
|
},
|
145
|
"husky": {
|
146
|
"hooks": {
|
147
|
"pre-commit": "lint-staged"
|
148
|
}
|
149
|
},
|
150
|
"lint-staged": {
|
151
|
"*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
|
152
|
"eslint --cache"
|
153
|
]
|
154
|
},
|
155
|
"jest": {
|
156
|
"forceExit": true,
|
157
|
"setupFilesAfterEnv": [
|
158
|
"<rootDir>/test/setupTestFramework.js"
|
159
|
],
|
160
|
"testMatch": [
|
161
|
"<rootDir>/test/*.test.js",
|
162
|
"<rootDir>/test/*.unittest.js"
|
163
|
],
|
164
|
"watchPathIgnorePatterns": [
|
165
|
"<rootDir>/.git",
|
166
|
"<rootDir>/node_modules",
|
167
|
"<rootDir>/test/js",
|
168
|
"<rootDir>/test/browsertest/js",
|
169
|
"<rootDir>/test/fixtures/temp-cache-fixture",
|
170
|
"<rootDir>/test/fixtures/temp-",
|
171
|
"<rootDir>/benchmark",
|
172
|
"<rootDir>/examples/*/dist",
|
173
|
"<rootDir>/coverage",
|
174
|
"<rootDir>/.eslintcache"
|
175
|
],
|
176
|
"modulePathIgnorePatterns": [
|
177
|
"<rootDir>/.git",
|
178
|
"<rootDir>/node_modules/webpack/node_modules",
|
179
|
"<rootDir>/test/js",
|
180
|
"<rootDir>/test/browsertest/js",
|
181
|
"<rootDir>/test/fixtures/temp-cache-fixture",
|
182
|
"<rootDir>/test/fixtures/temp-",
|
183
|
"<rootDir>/benchmark",
|
184
|
"<rootDir>/examples/*/dist",
|
185
|
"<rootDir>/coverage",
|
186
|
"<rootDir>/.eslintcache"
|
187
|
],
|
188
|
"transformIgnorePatterns": [
|
189
|
"<rootDir>"
|
190
|
],
|
191
|
"coverageDirectory": "<rootDir>/coverage",
|
192
|
"coveragePathIgnorePatterns": [
|
193
|
"\\.runtime\\.js$",
|
194
|
"<rootDir>/test",
|
195
|
"<rootDir>/schemas",
|
196
|
"<rootDir>/node_modules"
|
197
|
],
|
198
|
"testEnvironment": "node",
|
199
|
"coverageReporters": [
|
200
|
"json"
|
201
|
]
|
202
|
}
|
203
|
}
|