Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yosuke-furukawa/hookin
npm install or bower install if package.json changed, when git pull
https://github.com/yosuke-furukawa/hookin
Last synced: 18 days ago
JSON representation
npm install or bower install if package.json changed, when git pull
- Host: GitHub
- URL: https://github.com/yosuke-furukawa/hookin
- Owner: yosuke-furukawa
- Created: 2014-03-30T04:09:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T01:59:02.000Z (3 months ago)
- Last Synced: 2024-10-14T01:24:39.673Z (about 1 month ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
hookin [![Build Status](https://travis-ci.org/yosuke-furukawa/hookin.svg?branch=master)](https://travis-ci.org/yosuke-furukawa/hookin)
================Would you like to call "npm install" when package.json is changed?
`hookin` could solve the problem.
`npm install` runs if package.json is changed when git-pull.
`hookin` is a cli tool for github pull hook.
HOW TO USE
================INSTALL:
```shell
$ npm install hookin -g
```USAGE:
```shell
$ hookin package.json "npm install && npm prune"
$ hookin bower.json "bower install && bower prune"
$ hookin .scss "compasss compile"# Remove hook
$ hookin --uninstall package.json
```CREDITS
===================this tool is inspired by [sindresorhus's git pull hook](https://gist.github.com/sindresorhus/7996717).
thanks sindresorhus.