diff --git a/package.json b/package.json index 08e8e94..1f8823e 100644 --- a/package.json +++ b/package.json @@ -57,5 +57,10 @@ "commitizen": { "path": "./node_modules/cz-conventional-changelog" } + }, + "husky": { + "hooks": { + "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true" + } } } \ No newline at end of file