Commonplace design system
A reusable component library for Commonplace projects.
Development setup
yarn install
- To see previews of the components:
make sb
- Unit tests are run automatically and can be seen in the 'Specifications' tab of the Storybook ui.
- To run snapshot tests:
make tc
- To compile compressed library:
yarn build
Other useful commands
- To run linter:
yarn lint
- To fix lint errors automatically:
yarn lint --fix
- To update snaps:
yarn test -u
- To bump version, update
package.json