Skip to content

scratchese/git-hooks

Repository files navigation

⚓ git-hooks

Minimalism's pre-commit, pre-push hooks.

pre-commit, pre-push hooks made easy.

ZERO dependencies

Installation

$ npm i --save-dev @amazingandyyy/git-hooks
# or
$ yarn add --dev @amazingandyyy/git-hooks

Config

package.json

{
   "scripts": {
      "test": "jest",
      "precommit": "npm run test",
      "prepush": "npm run test"
   }
}

Uninstallation

$ npm uninstall @amazingandyyy/git-hooks
# or
$ yarn remove @amazingandyyy/git-hooks

License

MIT