build: adding husky, commitizen, and commitlint

This commit is contained in:
D. Moonfire 2018-12-26 15:08:15 -06:00
parent 8a5009329f
commit 7c7e4d1508
2 changed files with 2236 additions and 0 deletions

2213
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -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"
}
}
}