From 32a641e12dff3408722035ecc7cfc823bdd2d3c8 Mon Sep 17 00:00:00 2001 From: zkochan Date: Sat, 18 Mar 2017 15:45:26 +0200 Subject: [PATCH] chore(package): use husky instead of ghooks ghooks is a deprecated project --- package.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index be452aad58..33190c03ec 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "commitizen": "^2.8.6", "cz-conventional-changelog": "^2.0.0", "exists-link": "^2.0.0", - "ghooks": "^2.0.0", + "husky": "^0.13.2", "in-publish": "^2.0.0", "isexe": "^1.1.2", "mkdirp": "^0.5.1", @@ -131,8 +131,9 @@ "scripts": { "info": "npm-scripts-info", "start": "npm run tsc -- --watch", - "?commit": "echo 'Run Git commit wizard'", - "commit": "git-cz", + "?cz": "echo 'Run Git commit wizard'", + "cz": "git-cz", + "commitmsg": "validate-commit-msg", "lint": "tslint -c tslint.json --project .", "pnpm-registry-mock": "pnpm-registry-mock", "test:tap": "ts-node test", @@ -145,9 +146,6 @@ "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" - }, - "ghooks": { - "commit-msg": "node ./node_modules/validate-commit-msg/index.js" } }, "greenkeeper": {