Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sturdynut/git-prepush-hook
- Owner: sturdynut
- License: mit
- Created: 2015-10-01T14:52:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-16T22:58:34.000Z (almost 8 years ago)
- Last Synced: 2024-04-29T01:02:45.001Z (7 months ago)
- Topics: git, hooks
- Language: JavaScript
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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