UNPKG

7.74 kBJSONView Raw
1{
2 "name": "webpack",
3 "version": "4.41.5",
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.8.5",
9 "@webassemblyjs/helper-module-context": "1.8.5",
10 "@webassemblyjs/wasm-edit": "1.8.5",
11 "@webassemblyjs/wasm-parser": "1.8.5",
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.1",
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 "worker-loader": "^2.0.0",
84 "xxhashjs": "^0.2.1"
85 },
86 "engines": {
87 "node": ">=6.11.5"
88 },
89 "repository": {
90 "type": "git",
91 "url": "https://github.com/webpack/webpack.git"
92 },
93 "funding": {
94 "type": "opencollective",
95 "url": "https://opencollective.com/webpack"
96 },
97 "homepage": "https://github.com/webpack/webpack",
98 "main": "lib/webpack.js",
99 "web": "lib/webpack.web.js",
100 "bin": "./bin/webpack.js",
101 "files": [
102 "lib/",
103 "bin/",
104 "buildin/",
105 "declarations/",
106 "hot/",
107 "web_modules/",
108 "schemas/",
109 "SECURITY.md"
110 ],
111 "scripts": {
112 "setup": "node ./setup/setup.js",
113 "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
114 "test:update-snapshots": "yarn jest -u",
115 "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
116 "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\"",
117 "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
118 "travis:integration": "yarn cover:integration --ci $JEST",
119 "travis:basic": "yarn cover:basic --ci $JEST",
120 "travis:lintunit": "yarn lint && yarn cover:unit --ci $JEST",
121 "travis:benchmark": "yarn benchmark --ci",
122 "appveyor:integration": "yarn cover:integration --ci %JEST%",
123 "appveyor:unit": "yarn cover:unit --ci %JEST%",
124 "appveyor:benchmark": "yarn benchmark --ci",
125 "build:examples": "cd examples && node buildAll.js",
126 "pretest": "yarn lint",
127 "prelint": "yarn setup",
128 "lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
129 "code-lint": "eslint . --ext '.js' --cache",
130 "type-lint": "tsc --pretty",
131 "special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
132 "special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
133 "fix": "yarn code-lint --fix && yarn special-lint-fix",
134 "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\"",
135 "jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
136 "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
137 "cover": "yarn cover:all && yarn cover:report",
138 "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
139 "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",
140 "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
141 "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
142 "cover:report": "istanbul report"
143 },
144 "husky": {
145 "hooks": {
146 "pre-commit": "lint-staged"
147 }
148 },
149 "lint-staged": {
150 "*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
151 "eslint --cache"
152 ]
153 },
154 "jest": {
155 "forceExit": true,
156 "setupFilesAfterEnv": [
157 "<rootDir>/test/setupTestFramework.js"
158 ],
159 "testMatch": [
160 "<rootDir>/test/*.test.js",
161 "<rootDir>/test/*.unittest.js"
162 ],
163 "watchPathIgnorePatterns": [
164 "<rootDir>/.git",
165 "<rootDir>/node_modules",
166 "<rootDir>/test/js",
167 "<rootDir>/test/browsertest/js",
168 "<rootDir>/test/fixtures/temp-cache-fixture",
169 "<rootDir>/test/fixtures/temp-",
170 "<rootDir>/benchmark",
171 "<rootDir>/examples/*/dist",
172 "<rootDir>/coverage",
173 "<rootDir>/.eslintcache"
174 ],
175 "modulePathIgnorePatterns": [
176 "<rootDir>/.git",
177 "<rootDir>/node_modules/webpack/node_modules",
178 "<rootDir>/test/js",
179 "<rootDir>/test/browsertest/js",
180 "<rootDir>/test/fixtures/temp-cache-fixture",
181 "<rootDir>/test/fixtures/temp-",
182 "<rootDir>/benchmark",
183 "<rootDir>/examples/*/dist",
184 "<rootDir>/coverage",
185 "<rootDir>/.eslintcache"
186 ],
187 "transformIgnorePatterns": [
188 "<rootDir>"
189 ],
190 "coverageDirectory": "<rootDir>/coverage",
191 "coveragePathIgnorePatterns": [
192 "\\.runtime\\.js$",
193 "<rootDir>/test",
194 "<rootDir>/schemas",
195 "<rootDir>/node_modules"
196 ],
197 "testEnvironment": "node",
198 "coverageReporters": [
199 "json"
200 ]
201 }
202}