@treelab/taskflow-client
v0.1.5
Published
Taskflow component library for Treelab Client.
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 installyarn storybook
Linking to this package directly from treelab-client
First build this project
cd ..../treelab-taskflow-clientyarn build
Then link into treelab-client
cd ..../treelab-taskflow-clientyarn linkcd ..../treelab-clientyarn 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
