From 248a57040234d17acea673a449bd64570b56249e Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Sun, 4 Jun 2017 17:21:43 +0200 Subject: [PATCH] fix(npm-scripts): rename commit to cz so husky wont run precommit twice for more details pls see https://github.com/okonet/lint-staged/issues/152 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a993b5..09e6ac5 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "ts:style": "npm run ts:format && npm run ts:lint", "ts:style:fix": "npm run ts:format:fix && npm run ts:lint:fix", "verify": "npm run ts:style && npm test", - "commit": "git-cz", + "cz": "git-cz", "precommit": "lint-staged", "commitmsg": "validate-commit-msg", "prepush": "npm run verify",