Socket
Socket
Sign inDemoInstall

@treelab/gallery-view

Package Overview
Dependencies
255
Maintainers
12
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @treelab/gallery-view

Gallery View component library for Treelab Client


Version published
Weekly downloads
43
increased by2050%
Maintainers
12
Install size
33.1 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 07 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc