Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 1.35 KB

README.md

File metadata and controls

88 lines (58 loc) · 1.35 KB

Storybook example

Commitizen friendly

Prerequisites

Be sure Node and NPM are installed. We also use Yarn, but you could use NPM instead.

How to use

Installation

yarn

Development

The app:

yarn start

The Storybook:

yarn storybook

You could instead run the commands above concurrently by running:

yarn dev

Build

The app:

yarn build

The Storybook:

yarn build-storybook

You could instead run the commands above concurrently by running:

yarn prod

Unit Tests

yarn test

Visual Regression Tests

Be sure you created a .env file with:

CHROMATIC_APP_CODE=xxxxxxxx

Then you can run:

yarn chromatic

The result is visible here.

Resources