Skip to content

Commit

Permalink
fix(hooks): remove ghooks in favor of husky
Browse files Browse the repository at this point in the history
This replaces ghooks with husky. ghooks is deprecated in favor of husky. Contributors may need to

For commitizen developers, you need to do the following:

1. rm -rf .git/hooks
2. rm -rf node_modules
3. run npm install.

Closes #410
  • Loading branch information
jimthedev committed Jan 9, 2017
1 parent 3a3d10d commit bc2b6cb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"commit": "node bin/git-cz",
"build": "babel src --out-dir dist",
"build:watch": "babel --watch src --out-dir dist",
"precommit": "npm run lint && npm run test && npm run check-coverage",
"prepublish": "not-in-install && npm run build || true",
"report-coverage": "nyc report --reporter=lcov | codecov",
"write-coverage": "nyc report --reporter=lcov",
Expand All @@ -21,9 +22,6 @@
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"ghooks": {
"pre-commit": "npm run lint && npm run test && npm run check-coverage"
}
},
"homepage": "https://github.com/commitizen/cz-cli",
Expand Down Expand Up @@ -60,7 +58,7 @@
"eslint-config-standard": "6.2.1",
"eslint-plugin-promise": "3.4.0",
"eslint-plugin-standard": "2.0.1",
"ghooks": "1.3.2",
"husky": "0.12.0",
"in-publish": "^2.0.0",
"mocha": "3.1.2",
"node-uuid": "1.4.7",
Expand Down

0 comments on commit bc2b6cb

Please sign in to comment.