zz 65c8a28f48 项目初始化 2 روز پیش
..
__tests__ 65c8a28f48 项目初始化 2 روز پیش
bin 65c8a28f48 项目初始化 2 روز پیش
node_modules 65c8a28f48 项目初始化 2 روز پیش
src 65c8a28f48 项目初始化 2 روز پیش
CHANGELOG.md 65c8a28f48 项目初始化 2 روز پیش
HOOKS.md 65c8a28f48 项目初始化 2 روز پیش
LICENSE 65c8a28f48 项目初始化 2 روز پیش
README.md 65c8a28f48 项目初始化 2 روز پیش
appveyor.yml 65c8a28f48 项目初始化 2 روز پیش
package.json 65c8a28f48 项目初始化 2 روز پیش

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