hearth-kokoro v0.1.18
Kokoro | Hearth Design System
Bootstrapped with tsdx, using the provided react-with-storybook template. This repository maintains the component library for Hearth's web (and eventually mobile) app and overall style guide. Kokoro is meant to be an atomic design system.
Getting started
Clone this repository with SSH:
git clone git@github.com:shogun-hearth/kokoro.gitInstall dependencies:
npm installRecommended workflows
The recommended workflow is to run TSDX in one terminal:
npm startThis builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.
Then run Storybook inside another terminal:
npm run storybookThis loads the stories from ./src/components. A tab should automatically open with Storybook running, but if it doesn't, navigate to localhost:6006.
Resources
- Storybook
- What is Atomic Design?
- Design system examples:
Contributing
- Use named exports for all components that we want to surface as a part of the package
- Fill out the MDX template to ensure all components are well documented
- Add a unit test for each component added
Bookkeeping
Jest
Jest tests are set up to run with npm test, but no tests have been implemented yet.
Continuous Integration
Deployed to Netlify on each push. Working on setting up a proper deployment policy.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago