1.0.2 • Published 1 year ago
haven-components v1.0.2
Haven's component library is built with React + TypeScript on top of Vite.
Development
$ git clone https://github.com/haven-servicing/haven-component-library.git
$ cd haven-component-library
$ yarn
$ yarn link dist # allows your local version of haven-components to be linkable to another local repo
$ cd PATH_TO_YOUR_PROJECT # change directories to the repo you'd like to use the component library in
$ yarn link haven-components # use your local haven-components repo in this project
$ yarn watch # starts a hot-reloading vite build process
Testing
We use Cypress to run component tests.
$ yarn test-cli
Storybook
$ yarn storybook