Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sturdynut/git-prepush-hook

A really simple pre-push hook.
https://github.com/sturdynut/git-prepush-hook

git hooks

Last synced: 8 days ago
JSON representation

A really simple pre-push hook.

Awesome Lists containing this project

README

        

# git-prepush-hook

[![Dependency Status](https://david-dm.org/sturdynut/git-prepush-hook.svg)](https://david-dm.org/sturdynut/git-prepush-hook)
[![devDependency Status](https://david-dm.org/sturdynut/git-prepush-hook/dev-status.png)](https://david-dm.org/sturdynut/git-prepush-hook?type=dev)

A really simple pre-push hook.

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

## Install
`npm install git-prepush-hook`

## Configuration

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

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

> Bugs or questions? [@sturdynut](http://twitter.com/sturdynut)

MIT License