# Buffet.js Hooks
## Getting Started
### Installation
Using yarn
```bash
yarn add @buffetjs/hooks
# Install the required dependencies
yarn add react
```
or npm
```bash
npm install @buffetjs/hooks --save
# Install the required dependencies
npm install react --save
```
### Available commands
- **build**<br/>
Builds the library for production
- **build:analyze**<br/>
Analyse the generated build
- **build:watch**<br/>
Whatch the files with webpack
- **build:watch:esm**<br/>
Whatch the files with babel
- **create:index**<br/>
Create the `build/index.js` file
- **test**<br/>
Runs the entire set of test: lint, style and jest
- **test:jest**<br/>
Runs the unit tests
- **test:jest:watch**<br/>
Runs the unit tests in watch mode
- **test:lint**<br/>
Runs the lint tests
- **test:lint:quiet**<br/>
Runs the lint tests without displaying the warnings
- **test:style**<br/>
Runs the stylelint tests
- **test:style:quiet**<br/>
Runs the stylelint tests without displaying the warnings
- **lint:fix**<br/>
Fixes the lint