-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 775 Bytes
/
package.json
File metadata and controls
31 lines (31 loc) · 775 Bytes
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
{
"name": "commitlint-template",
"version": "0.0.1",
"description": "commitlint 模板项目",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install",
"commit": "git add . && git-cz",
"changelog": "conventional-changelog -p -i CHANGELOG.md -s -r 0"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^16.1.0",
"@commitlint/cz-commitlint": "^16.1.0",
"commitizen": "^4.2.4",
"eslint": "^8.9.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"**/*.js": ["prettier --write", "eslint --fix"]
}
}