Socket
Book a DemoInstallSign in
Socket

@treelab/gallery-view

Package Overview
Dependencies
Maintainers
12
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@treelab/gallery-view

Gallery View component library for Treelab Client

0.4.18
latest
Source
npmnpm
Version published
Maintainers
12
Created
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.

  • git clone <this repo>
  • yarn install
  • yarn storybook

Linking to this package directly from treelab-client

First build this project

  • cd ..../treelab-gallery-view
  • yarn build

Then link into treelab-client

  • cd ..../treelab-gallery-view
  • yarn link
  • cd ..../treelab-client
  • 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:

  • npm publish

FAQs

Package last updated on 07 Mar 2022

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.