@treelab/gallery-view v0.4.18
Treelab Gallery View
Gallery View component library for Treelab Client. Component preview is available on https://treelab.github.io/treelab-gallery-view.
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-gallery-viewyarn build
Then link into treelab-client
cd ..../treelab-gallery-viewyarn linkcd ..../treelab-clientyarn link @treelab/gallery-view
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
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
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
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago