[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]build/2023-06-19 12:50 -  
[DIR]dist/2023-06-19 12:50 -  
[DIR]src/2023-06-19 12:50 -  
[TXT]README.md1985-10-26 08:15 1.0K 
[   ]babel.config.js1985-10-26 08:15 455  
[   ]package.json2023-06-19 12:52 4.0K 
# 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