1 | {
|
2 | "name": "webpack",
|
3 | "version": "4.17.3",
|
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.5.13",
|
9 | "@webassemblyjs/helper-module-context": "1.5.13",
|
10 | "@webassemblyjs/wasm-edit": "1.5.13",
|
11 | "@webassemblyjs/wasm-opt": "1.5.13",
|
12 | "@webassemblyjs/wasm-parser": "1.5.13",
|
13 | "acorn": "^5.6.2",
|
14 | "acorn-dynamic-import": "^3.0.0",
|
15 | "ajv": "^6.1.0",
|
16 | "ajv-keywords": "^3.1.0",
|
17 | "chrome-trace-event": "^1.0.0",
|
18 | "enhanced-resolve": "^4.1.0",
|
19 | "eslint-scope": "^4.0.0",
|
20 | "json-parse-better-errors": "^1.0.2",
|
21 | "loader-runner": "^2.3.0",
|
22 | "loader-utils": "^1.1.0",
|
23 | "memory-fs": "~0.4.1",
|
24 | "micromatch": "^3.1.8",
|
25 | "mkdirp": "~0.5.0",
|
26 | "neo-async": "^2.5.0",
|
27 | "node-libs-browser": "^2.0.0",
|
28 | "schema-utils": "^0.4.4",
|
29 | "tapable": "^1.0.0",
|
30 | "uglifyjs-webpack-plugin": "^1.2.4",
|
31 | "watchpack": "^1.5.0",
|
32 | "webpack-sources": "^1.2.0"
|
33 | },
|
34 | "devDependencies": {
|
35 | "@types/node": "^9.6.4",
|
36 | "@types/tapable": "^1.0.1",
|
37 | "@types/webpack-sources": "^0.1.4",
|
38 | "benchmark": "^2.1.1",
|
39 | "bundle-loader": "~0.5.0",
|
40 | "codacy-coverage": "^2.0.1",
|
41 | "coffee-loader": "^0.9.0",
|
42 | "coffeescript": "^1.10.0",
|
43 | "coveralls": "^2.11.2",
|
44 | "css-loader": "^0.28.3",
|
45 | "es6-promise-polyfill": "^1.1.1",
|
46 | "eslint": "^5.2.0",
|
47 | "eslint-config-prettier": "^2.9.0",
|
48 | "eslint-plugin-jest": "^21.18.0",
|
49 | "eslint-plugin-node": "^7.0.1",
|
50 | "eslint-plugin-prettier": "^2.6.2",
|
51 | "express": "~4.13.1",
|
52 | "file-loader": "^1.1.6",
|
53 | "glob": "^7.1.2",
|
54 | "husky": "^1.0.0-rc.6",
|
55 | "i18n-webpack-plugin": "^1.0.0",
|
56 | "istanbul": "^0.4.5",
|
57 | "jade": "^1.11.0",
|
58 | "jade-loader": "~0.8.0",
|
59 | "jest": "^23.4.1",
|
60 | "jest-silent-reporter": "^0.0.5",
|
61 | "json-loader": "^0.5.7",
|
62 | "less": "^2.5.1",
|
63 | "less-loader": "^4.0.3",
|
64 | "lint-staged": "^7.2.0",
|
65 | "lodash": "^4.17.4",
|
66 | "prettier": "^1.14.0",
|
67 | "pug": "^2.0.3",
|
68 | "pug-loader": "^2.4.0",
|
69 | "raw-loader": "~0.5.0",
|
70 | "react": "^15.2.1",
|
71 | "react-dom": "^15.2.1",
|
72 | "rimraf": "^2.6.2",
|
73 | "script-loader": "~0.7.0",
|
74 | "simple-git": "^1.65.0",
|
75 | "style-loader": "^0.19.1",
|
76 | "typescript": "^3.0.0-rc",
|
77 | "url-loader": "^0.6.2",
|
78 | "val-loader": "^1.0.2",
|
79 | "vm-browserify": "~0.0.0",
|
80 | "wast-loader": "^1.5.5",
|
81 | "webpack-dev-middleware": "^1.9.0",
|
82 | "worker-loader": "^1.1.1",
|
83 | "xxhashjs": "^0.2.1"
|
84 | },
|
85 | "engines": {
|
86 | "node": ">=6.11.5"
|
87 | },
|
88 | "repository": {
|
89 | "type": "git",
|
90 | "url": "https://github.com/webpack/webpack.git"
|
91 | },
|
92 | "homepage": "https://github.com/webpack/webpack",
|
93 | "main": "lib/webpack.js",
|
94 | "web": "lib/webpack.web.js",
|
95 | "bin": "./bin/webpack.js",
|
96 | "files": [
|
97 | "lib/",
|
98 | "bin/",
|
99 | "buildin/",
|
100 | "hot/",
|
101 | "web_modules/",
|
102 | "schemas/",
|
103 | "SECURITY.md"
|
104 | ],
|
105 | "scripts": {
|
106 | "setup": "node ./setup/setup.js",
|
107 | "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
|
108 | "test:update-snapshots": "yarn jest -u",
|
109 | "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
|
110 | "test:basic": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/{TestCasesNormal,StatsTestCases,ConfigTestCases}.test.js\"",
|
111 | "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
|
112 | "travis:integration": "yarn cover:init && yarn cover:integration \"test/(?!TestCases)\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-1.json && yarn cover:integration \"test/TestCasesD\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-2.json && yarn cover:integration \"test/TestCases(?!D)\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-3.json",
|
113 | "travis:basic": "yarn test:basic --ci $JEST",
|
114 | "travis:lint-unit": "yarn lint && yarn cover:init && yarn cover:unit --ci $JEST",
|
115 | "travis:benchmark": "yarn benchmark --ci",
|
116 | "appveyor:integration": "yarn cover:init && yarn cover:integration \"test/(?!TestCases)\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-1.json&& yarn cover:integration \"test/TestCasesD\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-2.json && yarn cover:integration \"test/TestCases(?!D)\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-3.json",
|
117 | "appveyor:unit": "yarn cover:init && yarn cover:unit --ci %JEST%",
|
118 | "appveyor:benchmark": "yarn benchmark --ci",
|
119 | "build:examples": "cd examples && node buildAll.js",
|
120 | "pretest": "yarn lint",
|
121 | "prelint": "yarn setup",
|
122 | "lint": "yarn code-lint && yarn schema-lint && yarn type-lint",
|
123 | "code-lint": "eslint --cache \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
|
124 | "type-lint": "tsc --pretty",
|
125 | "fix": "yarn code-lint --fix",
|
126 | "pretty": "prettier --loglevel warn --write \"*.{ts,js,json}\" \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.{js,json}\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
|
127 | "schema-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
|
128 | "benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
|
129 | "cover": "yarn cover:init && yarn cover:all && yarn cover:report",
|
130 | "cover:init": "rimraf coverage",
|
131 | "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
|
132 | "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
|
133 | "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
|
134 | "cover:report": "istanbul report"
|
135 | },
|
136 | "husky": {
|
137 | "hooks": {
|
138 | "pre-commit": "lint-staged"
|
139 | }
|
140 | },
|
141 | "lint-staged": {
|
142 | "*.js|{lib,setup,bin,hot,buildin,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}": [
|
143 | "eslint --cache"
|
144 | ]
|
145 | },
|
146 | "jest": {
|
147 | "forceExit": true,
|
148 | "setupTestFrameworkScriptFile": "<rootDir>/test/setupTestFramework.js",
|
149 | "testMatch": [
|
150 | "<rootDir>/test/*.test.js",
|
151 | "<rootDir>/test/*.unittest.js"
|
152 | ],
|
153 | "watchPathIgnorePatterns": [
|
154 | "<rootDir>/.git",
|
155 | "<rootDir>/node_modules",
|
156 | "<rootDir>/test/js",
|
157 | "<rootDir>/test/browsertest/js",
|
158 | "<rootDir>/test/fixtures/temp-cache-fixture",
|
159 | "<rootDir>/test/fixtures/temp-",
|
160 | "<rootDir>/benchmark",
|
161 | "<rootDir>/examples/*/dist",
|
162 | "<rootDir>/coverage",
|
163 | "<rootDir>/.eslintcache"
|
164 | ],
|
165 | "modulePathIgnorePatterns": [
|
166 | "<rootDir>/.git",
|
167 | "<rootDir>/node_modules/webpack/node_modules",
|
168 | "<rootDir>/test/js",
|
169 | "<rootDir>/test/browsertest/js",
|
170 | "<rootDir>/test/fixtures/temp-cache-fixture",
|
171 | "<rootDir>/test/fixtures/temp-",
|
172 | "<rootDir>/benchmark",
|
173 | "<rootDir>/examples/*/dist",
|
174 | "<rootDir>/coverage",
|
175 | "<rootDir>/.eslintcache"
|
176 | ],
|
177 | "transformIgnorePatterns": [
|
178 | "<rootDir>"
|
179 | ],
|
180 | "coverageDirectory": "<rootDir>/coverage",
|
181 | "coveragePathIgnorePatterns": [
|
182 | "\\.runtime\\.js$",
|
183 | "<rootDir>/test",
|
184 | "<rootDir>/schemas",
|
185 | "<rootDir>/node_modules"
|
186 | ],
|
187 | "testEnvironment": "node",
|
188 | "coverageReporters": [
|
189 | "json"
|
190 | ]
|
191 | }
|
192 | }
|