This project uses:
- Typescript to transpile ts/tsx to js
- Storybook for development and documentation
Before anything else run this commmands:
git clone git@github.com:MissingCorner/ui.git
cd ui
yarn
yarn start
yarn start # start storybook to develop component
yarn build:ui # run tsc to compile tsx to js code
yarn build:docs # build storybook into docs folder
yarn publish # publish new version to npm
- Write new component under
src/components
directory - Add new story for the component under
stories
directory with formatname.stories.tsx
Write testBuild ui & docsDeploy