0.1.5 • Published 2 years ago

@treelab/taskflow-client v0.1.5

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

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.

  1. git clone <this repo>
  2. yarn install
  3. yarn storybook

Linking to this package directly from treelab-client

First build this project

  1. cd ..../treelab-taskflow-client
  2. yarn build

Then link into treelab-client

  1. cd ..../treelab-taskflow-client
  2. yarn link
  3. cd ..../treelab-client
  4. 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:

  1. npm publish