1 | {
|
2 | "name": "webpack-cli",
|
3 | "version": "3.3.7",
|
4 | "description": "CLI for webpack & friends",
|
5 | "license": "MIT",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "https://github.com/webpack/webpack-cli.git"
|
9 | },
|
10 | "bin": {
|
11 | "webpack-cli": "./bin/cli.js"
|
12 | },
|
13 | "main": "./bin/cli.js",
|
14 | "engines": {
|
15 | "node": ">=6.11.5"
|
16 | },
|
17 | "keywords": [
|
18 | "webpack",
|
19 | "cli",
|
20 | "scaffolding",
|
21 | "module",
|
22 | "bundler",
|
23 | "web"
|
24 | ],
|
25 | "files": [
|
26 | "bin",
|
27 | "scripts"
|
28 | ],
|
29 | "scripts": {
|
30 | "bootstrap": "npm run clean:all && npm install && lerna bootstrap",
|
31 | "build": "tsc",
|
32 | "changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile CHANGELOG.md --same-file",
|
33 | "clean:all": "rimraf node_modules packages/*/{node_modules}",
|
34 | "format": "npm run format:js && npm run format:ts",
|
35 | "format:js": "prettier-eslint ./bin/*.js ./bin/**/*.js ./test/**/*.js ./packages/**/**/*.js ./packages/**/*.js --write",
|
36 | "format:ts": "prettier-eslint ./packages/**/**/*.ts ./packages/**/*.ts ./packages/**/**/**/*.ts --write",
|
37 | "lint": "eslint \"./bin/*.js\" \"./bin/**/*.js\" \"./test/**/*.js\" \"packages/**/!(node_modules)/*.ts\" \"packages/**/!(node_modules)/**/*.ts\"",
|
38 | "pretest": "npm run build && npm run lint",
|
39 | "reportCoverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json --disable=gcov",
|
40 | "test": "nyc jest --maxWorkers=4 --reporters=default --reporters=jest-junit",
|
41 | "test:cli": "nyc jest test/ --maxWorkers=4 --reporters=default --reporters=jest-junit",
|
42 | "test:packages": "nyc jest packages/ --maxWorkers=4 --reporters=default --reporters=jest-junit",
|
43 | "test:ci": "nyc jest --maxWorkers=$(nproc) --reporters=default --reporters=jest-junit",
|
44 | "travis:integration": "npm run build && npm run test && npm run reportCoverage",
|
45 | "travis:lint": "npm run build && npm run lint",
|
46 | "watch": "npm run build && tsc -w",
|
47 | "publish:monorepo": "npm run format && npm run test && lerna publish -m \"chore: monorepo version update\""
|
48 | },
|
49 | "husky": {
|
50 | "hooks": {
|
51 | "pre-commit": "lint-staged",
|
52 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
53 | }
|
54 | },
|
55 | "lint-staged": {
|
56 | "*.md": [
|
57 | "prettier --parser markdown --write",
|
58 | "git add"
|
59 | ],
|
60 | "{packages,bin}/**/!(__testfixtures__)/**.js": [
|
61 | "eslint --fix",
|
62 | "git add"
|
63 | ],
|
64 | "*.ts": [
|
65 | "npm run format:ts",
|
66 | "git add"
|
67 | ],
|
68 | "*.js": [
|
69 | "npm run format:js",
|
70 | "git add"
|
71 | ]
|
72 | },
|
73 | "jest": {
|
74 | "testPathIgnorePatterns": [
|
75 | "/node_modules/"
|
76 | ],
|
77 | "testEnvironment": "node",
|
78 | "collectCoverage": true,
|
79 | "coverageReporters": [
|
80 | "json",
|
81 | "html",
|
82 | "cobertura"
|
83 | ],
|
84 | "transform": {
|
85 | "^.+\\.(ts)?$": "ts-jest"
|
86 | },
|
87 | "testRegex": [
|
88 | "/__tests__/.*\\.(test.js|test.ts)$",
|
89 | "/test/.*\\.(test.js|test.ts)$"
|
90 | ],
|
91 | "moduleFileExtensions": [
|
92 | "ts",
|
93 | "js",
|
94 | "json"
|
95 | ]
|
96 | },
|
97 | "nyc": {
|
98 | "include": [
|
99 | "bin/**.js",
|
100 | "packages/**/*.js"
|
101 | ],
|
102 | "reporter": [
|
103 | "lcov"
|
104 | ],
|
105 | "all": true
|
106 | },
|
107 | "config": {
|
108 | "commitizen": {
|
109 | "path": "./node_modules/cz-customizable"
|
110 | },
|
111 | "cz-customizable": {
|
112 | "config": "./.cz-config.js"
|
113 | }
|
114 | },
|
115 | "dependencies": {
|
116 | "chalk": "2.4.2",
|
117 | "cross-spawn": "6.0.5",
|
118 | "enhanced-resolve": "4.1.0",
|
119 | "findup-sync": "3.0.0",
|
120 | "global-modules": "2.0.0",
|
121 | "import-local": "2.0.0",
|
122 | "interpret": "1.2.0",
|
123 | "loader-utils": "1.2.3",
|
124 | "supports-color": "6.1.0",
|
125 | "v8-compile-cache": "2.0.3",
|
126 | "yargs": "13.2.4"
|
127 | },
|
128 | "peerDependencies": {
|
129 | "webpack": "4.x.x"
|
130 | },
|
131 | "devDependencies": {
|
132 | "@babel/preset-env": "7.4.5",
|
133 | "@babel/register": "7.4.4",
|
134 | "@commitlint/cli": "8.1.0",
|
135 | "@commitlint/config-lerna-scopes": "8.0.0",
|
136 | "@commitlint/travis-cli": "8.0.0",
|
137 | "@strictsoftware/typedoc-plugin-monorepo": "0.2.1",
|
138 | "@types/jest": "24.0.15",
|
139 | "@types/node": "12.0.8",
|
140 | "@typescript-eslint/eslint-plugin": "1.10.2",
|
141 | "@typescript-eslint/parser": "1.10.2",
|
142 | "babel-preset-env": "1.7.0",
|
143 | "babel-preset-jest": "24.6.0",
|
144 | "codecov": "3.5.0",
|
145 | "commitizen": "4.0.3",
|
146 | "commitlint-config-cz": "0.12.0",
|
147 | "conventional-changelog-cli": "2.0.21",
|
148 | "cz-customizable": "6.2.0",
|
149 | "eslint": "5.16.0",
|
150 | "eslint-config-prettier": "5.0.0",
|
151 | "eslint-plugin-node": "9.1.0",
|
152 | "eslint-plugin-prettier": "3.1.0",
|
153 | "esm": "3.2.25",
|
154 | "execa": "1.0.0",
|
155 | "husky": "2.4.1",
|
156 | "jest": "24.8.0",
|
157 | "jest-cli": "24.8.0",
|
158 | "jest-junit": "6.4.0",
|
159 | "lerna": "3.15.0",
|
160 | "lint-staged": "8.2.1",
|
161 | "nyc": "14.1.1",
|
162 | "prettier": "1.18.2",
|
163 | "prettier-eslint-cli": "5.0.0",
|
164 | "readable-stream": "3.4.0",
|
165 | "rimraf": "2.6.3",
|
166 | "schema-utils": "1.0.0",
|
167 | "ts-jest": "24.0.2",
|
168 | "ts-node": "8.3.0",
|
169 | "typescript": "3.5.2",
|
170 | "webpack": "4.x.x",
|
171 | "webpack-dev-server": "3.7.2"
|
172 | }
|
173 | }
|