zz 65c8a28f48 项目初始化 1 неделя назад
..
__tests__ 65c8a28f48 项目初始化 1 неделя назад
bin 65c8a28f48 项目初始化 1 неделя назад
node_modules 65c8a28f48 项目初始化 1 неделя назад
src 65c8a28f48 项目初始化 1 неделя назад
CHANGELOG.md 65c8a28f48 项目初始化 1 неделя назад
HOOKS.md 65c8a28f48 项目初始化 1 неделя назад
LICENSE 65c8a28f48 项目初始化 1 неделя назад
README.md 65c8a28f48 项目初始化 1 неделя назад
appveyor.yml 65c8a28f48 项目初始化 1 неделя назад
package.json 65c8a28f48 项目初始化 1 неделя назад

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"
    }
  }