Skip to content
🐶 Git hooks made easy
JavaScript
Branch: master
Clone or download
#3 Compare This branch is 13 commits ahead, 302 commits behind typicode:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
bin
src fix: should not install in sub directory Aug 9, 2018
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
HOOKS.md Add sendemail-validate githook (typicode#173) Aug 30, 2017
LICENSE First commit Jun 23, 2014
README.md
appveyor.yml 0.14 (typicode#142) Jun 22, 2017
package-lock.json 2.0.0 Aug 9, 2018
package.json

README.md

yorkie

Git hooks made easy

This is a fork of husky with a few changes:

  • Prioritizes package.json located next to .git directory, instead of hard-coded upward search. This avoids the problem when a root package in a lerna monorepo and a sub package both depends on husky, it gets confused and double-updates the root git hooks with wrong paths.

  • Changed where hooks are read from in package.json:

    Before

    {
      "scripts": {
        "precommit": "foo"
      }
    }

    After

    {
      "gitHooks": {
        "pre-commit": "foo"
      }
    }
You can’t perform that action at this time.