Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

git-prepush-hook

sturdynut1.6kMIT1.0.2

A really simple pre-push hook.

readme

git-prepush-hook

Build Status Dependency Status devDependency Status

A really simple pre-push hook.

This package is completely inspired by https://github.com/nlf/precommit-hook, thank you NLF.

Install

npm install git-prepush-hook

Configuration

Configure the pre-push hooks via your package.json.

{
  "name": "your_project",
  "description": "just an example",
  "scripts": {
    "test": "gulp test"
  },
  "pre-push": ["test"]
}

Bugs or questions? @sturdynut

MIT License