build: adding husky, commitizen, and commitlint
This commit is contained in:
parent
8a5009329f
commit
7c7e4d1508
2 changed files with 2236 additions and 0 deletions
2213
package-lock.json
generated
2213
package-lock.json
generated
File diff suppressed because it is too large
Load diff
23
package.json
23
package.json
|
@ -2,6 +2,29 @@
|
|||
"name": "miwafu",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^7.2.1",
|
||||
"@commitlint/config-conventional": "^7.1.2",
|
||||
"commitizen": "^3.0.5",
|
||||
"cz-conventional-changelog": "^2.1.0",
|
||||
"husky": "^1.2.1",
|
||||
"pajv": "^1.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "pajv -s src/schema/entry.json -d 'src/dictionary/*/*.yaml'"
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue