UNPKG

4.94 kBJSONView Raw
1{
2 "name": "webpack-cli",
3 "version": "3.0.3",
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 ],
24 "scripts": {
25 "lint": "eslint \"./bin/*.js\" \"./test/**/*.js\" \"{packages}/**/!(node_modules)/*.js\" ",
26 "format": "prettier-eslint ./bin/*.js ./test/**/*.js ./packages/**/*.js --write",
27 "lint:codeOnly": "eslint \"{bin}/**/!(__testfixtures__)/*.js\" \"{bin}/**.js\"",
28 "precommit": "lint-staged",
29 "pretest": "npm run lint",
30 "test": "nyc jest",
31 "reportCoverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json --disable=gcov",
32 "jsdoc": "jsdoc -c jsdoc.json -r -d docs",
33 "appveyor:lint": "lerna bootstrap && npm run lint",
34 "appveyor:test": "npm run test",
35 "travis:integration": "npm run test && npm run reportCoverage",
36 "travis:lint": "lerna bootstrap && npm run lint && npm run bundlesize",
37 "bundlesize": "bundlesize",
38 "changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile CHANGELOG.md --same-file",
39 "semantic-release": "semantic-release",
40 "travis-deploy-once": "travis-deploy-once",
41 "clean:all": "rimraf node_modules package-lock.json packages/*/node_modules packages/*/package-lock.json",
42 "bootstrap": "npm run clean:all && npm install && lerna bootstrap"
43 },
44 "lint-staged": {
45 "{packages,bin}/**/!(__testfixtures__)/**.js": [
46 "eslint --fix",
47 "git add"
48 ]
49 },
50 "jest": {
51 "testEnvironment": "node",
52 "collectCoverage": true,
53 "coverageReporters": [
54 "json",
55 "html"
56 ]
57 },
58 "nyc": {
59 "include": [
60 "bin/**.js",
61 "packages/**/*.js"
62 ],
63 "reporter": [
64 "lcov"
65 ],
66 "all": true
67 },
68 "bundlesize": [
69 {
70 "path": "./packages/migrate/**.js",
71 "maxSize": "1 kB"
72 },
73 {
74 "path": "./packages/init/**/**.js",
75 "maxSize": "1.6 kB"
76 },
77 {
78 "path": "./packages/utils/**.js",
79 "maxSize": "5.32 kB"
80 }
81 ],
82 "config": {
83 "commitizen": {
84 "path": "./node_modules/cz-customizable"
85 },
86 "cz-customizable": {
87 "config": "./.cz-config.js"
88 }
89 },
90 "release": {
91 "analyzeCommits": {
92 "preset": "angular",
93 "releaseRules": [
94 {
95 "type": "chore",
96 "release": "patch"
97 },
98 {
99 "type": "feat",
100 "release": "minor"
101 },
102 {
103 "type": "ast",
104 "release": "patch"
105 },
106 {
107 "type": "fix",
108 "release": "patch"
109 },
110 {
111 "type": "break",
112 "release": "major"
113 },
114 {
115 "type": "cli",
116 "release": "patch"
117 },
118 {
119 "type": "misc",
120 "release": "patch"
121 },
122 {
123 "type": "tests",
124 "release": "patch"
125 },
126 {
127 "type": "docs",
128 "release": "patch"
129 }
130 ]
131 },
132 "generateNotes": {
133 "preset": "angular",
134 "writerOpts": {
135 "commitsSort": [
136 "subject",
137 "scope"
138 ]
139 },
140 "parserOpts": {
141 "noteKeywords": [
142 "BREAKING CHANGE",
143 "BREAKING CHANGES",
144 "BREAKING",
145 "break",
146 "breaking"
147 ]
148 }
149 }
150 },
151 "dependencies": {
152 "chalk": "^2.4.1",
153 "cross-spawn": "^6.0.5",
154 "enhanced-resolve": "^4.0.0",
155 "global-modules-path": "^2.1.0",
156 "import-local": "^1.0.0",
157 "inquirer": "^6.0.0",
158 "interpret": "^1.1.0",
159 "loader-utils": "^1.1.0",
160 "supports-color": "^5.4.0",
161 "v8-compile-cache": "^2.0.0",
162 "yargs": "^11.1.0"
163 },
164 "peerDependencies": {
165 "webpack": "^4.x.x"
166 },
167 "devDependencies": {
168 "@commitlint/cli": "^7.0.0",
169 "@commitlint/config-angular": "^7.0.0",
170 "@commitlint/config-lerna-scopes": "^7.0.0",
171 "@commitlint/prompt-cli": "^7.0.0",
172 "@commitlint/travis-cli": "^7.0.0",
173 "bundlesize": "^0.17.0",
174 "codecov": "^3.0.2",
175 "commitizen": "^2.10.1",
176 "conventional-changelog-cli": "^2.0.0",
177 "conventional-changelog-lint-config-cz": "^0.3.0",
178 "cz-customizable": "^5.2.0",
179 "eslint": "^4.19.1",
180 "eslint-plugin-node": "^6.0.1",
181 "husky": "^0.14.3",
182 "jest": "^22.4.4",
183 "jest-cli": "^23.0.1",
184 "jsdoc": "^3.5.5",
185 "lerna": "^2.11.0",
186 "lint-staged": "^7.1.2",
187 "nyc": "^12.0.1",
188 "prettier-eslint-cli": "^4.7.1",
189 "rimraf": "^2.6.2",
190 "schema-utils": "^0.4.5",
191 "semantic-release": "^15.5.0",
192 "travis-deploy-once": "^5.0.0",
193 "webpack": "^4.8.3",
194 "webpack-dev-server": "^3.1.4"
195 },
196 "files": [
197 "bin",
198 "lib",
199 "schemas"
200 ]
201}