/
package.json
112 lines (112 loc) · 3.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "cz-git",
"version": "1.9.1",
"private": true,
"description": "A better customizable and git support commitizen adapter",
"author": "Zhengqbbb <[email protected]> (https://github.com/Zhengqbbb)",
"license": "MIT",
"homepage": "https://cz-git.qbb.sh",
"repository": {
"type": "git",
"url": "https://github.com/Zhengqbbb/cz-git"
},
"bugs": {
"url": "https://github.com/Zhengqbbb/cz-git/issues"
},
"keywords": [
"commitizen-adapter",
"cli",
"cz-cli",
"cz-git",
"cz-gitee",
"cz-adapter",
"customizable",
"cz-customizable"
],
"packageManager": "[email protected]",
"scripts": {
"x": "czg",
"build": "pnpm clean && pnpm -r build",
"dev": "pnpm clean && pnpm --filter='@cz-git/*' --stream -r build && pnpm --filter='./packages/*' -r build --watch",
"dev:plugin": "pnpm --filter='@cz-git/*' -r build --watch",
"clean": "pnpm run -r --stream clean",
"docs:build": "pnpm -C docs run docs:build",
"docs:dev": "pnpm -C docs docs:dev",
"docs:serve": "pnpm -C docs docs:serve",
"docs:update": "tsx ./scripts/docs-update-use.ts",
"gen:schema": "tsx ./scripts/czrc-schema.ts",
"demo:checkbox": "node ./packages/@cz-git/plugin-inquirer/examples/checkbox.js",
"demo:input": "node ./packages/@cz-git/plugin-inquirer/examples/input.js",
"demo:list": "node ./packages/@cz-git/plugin-inquirer/examples/list.js",
"postinstall": "simple-git-hooks",
"lint": "pnpm eslint --ext .ts --ext .json packages docs/.vitepress",
"release": "pnpm gen:schema && pnpm release:changelog && pnpm build",
"release:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && pnpm run -r --stream release:changelog",
"test": "vitest",
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
"@antfu/eslint-config": "0.38.6",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@cz-git/inquirer": "workspace:*",
"@types/fs-extra": "^11.0.2",
"@types/inquirer": "8.2.3",
"@types/node": "^20.6.4",
"@types/rimraf": "3.0.2",
"bumpp": "7.2.0",
"conventional-changelog-cli": "^4.1.0",
"cz-git": "workspace:*",
"czg": "workspace:*",
"eslint": "^8.50.0",
"fast-glob": "^3.3.1",
"js-yaml": "^4.1.0",
"lint-staged": "13.1.2",
"node-fetch": "2.6.9",
"ora": "^7.0.1",
"pathe": "^1.1.1",
"pnpm": "9.0.0",
"rimraf": "3.0.2",
"simple-git-hooks": "^2.9.0",
"ts-json-schema-generator": "^1.3.0",
"ts-node": "^10.9.1",
"tsup": "7.2.0",
"tsx": "^3.12.10",
"typescript": "^5.2.2",
"vitest": "^0.34.5"
},
"pnpm": {
"overrides": {
"chalk": "4.1.2",
"color-convert": "2.0.1",
"resolve-from": "5.0.0",
"supports-color": "8.1.1",
"@commitlint/config-validator": "npm:@qbbsh/[email protected]"
},
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"@types/react",
"eslint-plugin-import",
"eslint-plugin-n",
"eslint-plugin-promise",
"react",
"react-dom",
"webpack"
]
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm commitlint --edit $1",
"pre-push": "pnpm vitest run"
},
"lint-staged": {
"*.ts": "eslint --fix"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}