@treelab/taskflow-client
v0.1.5
Published
Taskflow component library for Treelab Client.
Downloads
4
Keywords
Readme
Treelab taskflow client
Taskflow component library for Treelab Client.
Structure
All of the components are located in src folder.
Development
Setup
A locally running storybook instance is used to showcase all the components and reload whenever underlying code changes.
git clone <this repo>
yarn install
yarn storybook
Linking to this package directly from treelab-client
First build this project
cd ..../treelab-taskflow-client
yarn build
Then link into treelab-client
cd ..../treelab-taskflow-client
yarn link
cd ..../treelab-client
yarn link @treelab/taskflow-client
Restart treelab-client
in order for the linked package to be properly included in the build.
Testing
jest and @testing-library/react are used for unit testing.
Test can be run using the yarn test
command.
Publishing
Code can be published using the usual npm publish process:
npm publish