معرفی شرکت ها


ghooks-2.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Simple git hooks
ویژگی مقدار
سیستم عامل -
نام فایل ghooks-2.0.4
نام ghooks
نسخه کتابخانه 2.0.4
نگهدارنده ['gtramontina', 'jhabdas']
ایمیل نگهدارنده ['guilherme.tramontina@gmail.com', 'jhabdas@gmail.com']
نویسنده Guilherme Tramontina
ایمیل نویسنده guilherme.tramontina@gmail.com
آدرس صفحه اصلی git+https://github.com/gtramontina/ghooks.git
آدرس اینترنتی https://github.com/gtramontina/ghooks
مجوز MIT
# ghooks [![version](https://img.shields.io/npm/v/ghooks.svg?style=flat-square)](http://npm.im/ghooks) [![travis build](https://img.shields.io/travis/ghooks-org/ghooks.svg?style=flat-square)](https://travis-ci.org/ghooks-org/ghooks) [![AppVeyor](https://img.shields.io/appveyor/ci/gtramontina/ghooks.svg?style=flat-square)](https://ci.appveyor.com/project/gtramontina/ghooks) [![codecov coverage](https://img.shields.io/codecov/c/github/ghooks-org/ghooks.svg?style=flat-square)](https://codecov.io/github/ghooks-org/ghooks) [![Dependencies status](https://img.shields.io/david/ghooks-org/ghooks.svg?style=flat-square)](https://david-dm.org/ghooks-org/ghooks#info=dependencies) [![Dev Dependencies status](https://img.shields.io/david/dev/ghooks-org/ghooks.svg?style=flat-square)](https://david-dm.org/ghooks-org/ghooks#info=devDependencies) [![MIT License](https://img.shields.io/npm/l/ghooks.svg?style=flat-square)](http://opensource.org/licenses/MIT) [![downloads](https://img.shields.io/npm/dm/ghooks.svg?style=flat-square)](http://npm-stat.com/charts.html?package=ghooks&from=2014-04-01) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/) Simple git hooks ## Installation ``` npm install ghooks --save-dev ``` _It is not advised to install `ghooks` as a production dependency, as it will install git hooks in your production environment as well. Please install it under the `devDependencies` section of your `package.json`._ _Please also note, that it is absolutely **not advised** to install `ghooks` globally. To work as expected, make it a development dependency of your project(s)._ ## Setup Add a `config.ghooks` entry in your `package.json` and simply specify which git hooks you want and their corresponding commands, like the following: ``` { … "config": { "ghooks": { "pre-commit": "gulp lint", "commit-msg": "validate-commit-msg", "pre-push": "make test", "post-merge": "npm install", "post-rewrite": "npm install", … } } … } ``` **Note:** _The hooks' working directory is relative to the git root (where you have your `.git` directory). This means that if your package.json is in a subdirectory of your git repo, you'll need to cd into the directory before running any npm scripts. E.g.:_ ```json "pre-commit": "cd path/to/folder && npm run test" ``` ## opt-in/out One of the last things you want is to raise the barrier to contributing to your open source project. So [Andreas Windt](https://github.com/ta2edchimp) developed the [opt-cli](https://npmjs.com/package/opt-cli) package to allow you to turn your hooks into opt-in/out scripts. See this project's [`package.json`](package.json) for an example of how to do that. ## All [documented](http://git-scm.com/docs/githooks) hooks are available: * applypatch-msg * pre-applypatch * post-applypatch * pre-commit * prepare-commit-msg * commit-msg * post-commit * pre-rebase * post-checkout * post-merge * pre-push * pre-receive * update * post-receive * post-update * pre-auto-gc * post-rewrite ## Common Issues * [Usage with git GUI clients](https://github.com/ghooks-org/ghooks/issues/18) – Thanks to [@JamieMason](https://github.com/JamieMason) ## Credits This module is heavily inspired by [__@nlf__](https://github.com/nlf)'s [precommit-hook](https://www.npmjs.org/package/precommit-hook) ## Contributors Huge thanks to everyone listed [here](https://github.com/ghooks-org/ghooks/graphs/contributors)! ## License This software is licensed under the MIT license


نیازمندی

مقدار نام
0.1.5 findup
4.5.0 lodash.clone
2.0.0 manage-path
1.5.1 opt-cli
3.0.0 path-exists
0.0.2 spawn-command


زبان مورد نیاز

مقدار نام
8.11.1 Npm


نحوه نصب


نصب پکیج tgz ghooks-2.0.4:

    npm install ghooks-2.0.4.tgz