/
package.json
108 lines (108 loc) · 3.48 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
{
"name": "cz-git",
"version": "1.3.5",
"private": true,
"description": "A better customizable and git support commitizen adapter",
"keywords": [
"commitizen-adapter",
"cli",
"cz-cli",
"cz-git",
"cz-gitee",
"cz-adapter",
"customizable",
"cz-customizable"
],
"homepage": "https://cz-git.qbenben.com",
"bugs": {
"url": "https://github.com/Zhengqbbb/cz-git/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Zhengqbbb/cz-git"
},
"license": "MIT",
"author": "Zhengqbbb <zhengqbbb@gmail.com> (https://github.com/Zhengqbbb)",
"scripts": {
"build": "pnpm build:cli && pnpm build:cz",
"build:cli": "pnpm build:dev && pnpm run --filter=\"czg\" build",
"build:cz": "pnpm run --filter=\"cz-git\" build && pnpm run --filter=\"@cz-git*\" --stream build",
"build:dev": "pnpm run -r --stream build:dev",
"clean": "pnpm run -r --stream clean",
"cz": "czg",
"dev": "concurrently \"tsc -b tsconfig.build.json --watch\" \"pnpm run test --watch\"",
"dev:cz": "pnpm clean && tsc -b tsconfig.build.json --watch",
"docs-zh:build": "pnpm --filter='docs-zh' docs:build",
"docs-zh:dev": "pnpm --filter='docs-zh' docs:dev",
"docs:build": "pnpm --filter=docs docs:build && pnpm docs-zh:build && pnpm docs:link",
"docs:dev": "pnpm --filter=docs docs:dev",
"docs:link": "rm -rf ./docs/.vitepress/dist/zh/* && mv -f ./docs-zh/.vitepress/dist/* ./docs/.vitepress/dist/zh",
"docs:serve": "pnpm --filter=docs docs:serve",
"example:checkbox": "node ./packages/@cz-git/plugin-inquirer/examples/checkbox.js",
"example:input": "node ./packages/@cz-git/plugin-inquirer/examples/input.js",
"example:list": "node ./packages/@cz-git/plugin-inquirer/examples/list.js",
"lint": "eslint --ext .ts packages docs/.vitepress",
"prepare": "husky install",
"release": "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"
},
"lint-staged": {
"*.ts": "eslint --fix",
"package.json": "sort-package-json"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@cz-git/inquirer": "workspace:*",
"@types/fs-extra": "^9.0.13",
"@types/inquirer": "8.2.0",
"@types/node": "^18.0.0",
"@types/rimraf": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"bumpp": "7.2.0",
"concurrently": "^7.2.2",
"conventional-changelog-cli": "^2.2.2",
"cz-git": "workspace:*",
"czg": "workspace:*",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"esno": "^0.16.3",
"fast-glob": "^3.2.11",
"husky": "^8.0.1",
"lint-staged": "^13.0.2",
"ora": "^6.1.0",
"pathe": "^0.3.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"sort-package-json": "^1.57.0",
"tsup": "6.1.2",
"typescript": "^4.7.3",
"vitest": "^0.15.1"
},
"engines": {
"pnpm": ">=7"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"@types/react",
"eslint-plugin-import",
"eslint-plugin-n",
"eslint-plugin-promise",
"react",
"react-dom",
"webpack"
]
}
}
}