DSC React Components
- See storybook of all components here: https://dollarshaveclub.github.io/react-components/
- See Percy snapshots of all stories here: https://percy.io/Dollar-Shave-Club/dsc-react-components
Commands
-
npm run eslint
- run eslint -
npm run start
- start the story book -
npm run build-storybook
- build the story book to/docs
, which updates the github page -
npm run test
- run tests These are tests in__tests__/*.js
.
Notes
- In Storybook,
shopCode
is passed to all stories implictly.