-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
25 lines (25 loc) · 1004 Bytes
/
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
{
"name": "ts-commitlint",
"version": "1.0.0",
"description": "Set of tools to guarantee accurate contributing guidelines on version control",
"main": "index.ts",
"repository": "www.github.com/juanmanso/ts-commitlint",
"author": "Juan Manso",
"license": "GPL-3.0",
"scripts": {
"commitlint": "commitlint -g .commitlint/commitlint.config.ts",
"commitlint:debug": "npx conventional-commits-parser",
"commitlint:commitMsg": "commitlint -g .commitlint/commitMsg.config.ts",
"commitlint:branchName": "git rev-parse --abbrev-ref HEAD| commitlint -g .commitlint/branchName.config.ts",
"commitlint:commitsPrePush": "git show-branch | sed \"s/].*//\" | grep \"\\*\" | grep -v \"$(git rev-parse --abbrev-ref HEAD)\" | head -n1 | sed \"s/^.*\\[//\" | xargs -n 1 yarn commitlint --from "
},
"devDependencies": {
"commitlint": "^17.6.6",
"husky": "^4.3.8"
},
"husky": {
"hooks": {
"commit-msg": "yarn commitlint:commitMsg -E HUSKY_GIT_PARAMS"
}
}
}