@treelab/gallery-view
TypeScript icon, indicating that this package has built-in type declarations

0.4.18 • Public • Published

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.

  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-gallery-view
  2. yarn build

Then link into treelab-client

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

  1. npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @treelab/gallery-view

Weekly Downloads

1

Version

0.4.18

License

UNLICENSED

Unpacked Size

395 kB

Total Files

166

Last publish

Collaborators

  • weih.cao
  • rickytyho
  • treelab-official
  • derekchan916
  • treelab-will
  • peterl348
  • simon.shi