miwafu/package.json

32 lines
723 B
JSON

{
"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 validate -s src/schema/entry.json -d 'src/dictionary/*/*.yaml' > /dev/null"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}