# eyeos-hooks

> Library to start the eyeos hooks on a repo

Latest version **0.0.189** (published 2016-05-12) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install eyeos-hooks
pnpm add eyeos-hooks
yarn add eyeos-hooks
bun add eyeos-hooks
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.189 |
| Published | 2016-05-12 |
| First published | 2016-05-12 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | eyeos |
| Maintainers | eyeos |

## Links

- npm: https://www.npmjs.com/package/eyeos-hooks
- npm.io page: https://npm.io/package/eyeos-hooks

## Recent versions

- 0.0.189 (latest) — 2016-05-12

## README

Eyeos Hooks Library
===================

## Overview

This library is for distribute the hooks necessary to boost development time and let not commit without passing unit tests.

## How to use it

```bash
git clone <EYEOS_REPO>
```

After that you will have the hooks installed in your local .git/hooks folder.

### pre-commit

Currently what pre commit does is execute the tests in src/test with a human reporter (the one in grunt file is xunit, for sonar parsing).
Then, if they exist, execute test-dev.sh and integration-test.sh that are test scripts where they are dev machine tests.
And if you have an eyeos environment running and you set the envar EXECUTE_COMPONENT_TEST, you will also execute the component tests in pre commit stage.

### install library in a repo that still don't has eyeos-hooks

You have to add the library and then commit push the package.json:

```bash
npm install --save eyeos-hooks
```

**be sure that after that command, the version of the library is \* as all the other libraries from eyeos**
```bash
git add package.json
git commit -m "Added eyeos-hooks"
git push origin master
```

## Quick help

* Install modules

```bash
	$ npm install
```

---
_Source: https://npm.io/package/eyeos-hooks · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
