Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Latest commit

 

History

History
61 lines (39 loc) · 731 Bytes

CONTRIBUTING.md

File metadata and controls

61 lines (39 loc) · 731 Bytes

CONTRIBUTING GUIDE

Buffetjs

Strapi Components library.

Install

Install the dependencies:

yarn

Development

Start the watch mode

yarn watch

Start the storybook

cd docs
yarn storybook

Commands

Lint

yarn run lint

Lints your JavaScript and your CSS.

yarn run lint:fix

Fix your Javascript

Testing

Unit Testing

yarn run test

Tests your application with the unit tests specified in the */tests/.js files throughout the application. All the test commands allow an optional -- [string] argument to filter the tests run by Jest. Useful if you need to run a specific test only.

Watching

yarn run test:watch