New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lse-component-library

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lse-component-library

A shared component library for LSE Projects

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

LSE Component Library

Accessing the Library via Storybook

Currently to access the Library via the Executive Education Storybook instance you need to execute npm run storybook in both the Executive Education & Component Library directories on your machine. This will run instances of Storybook on ports 6006 & 7006 for the respective projects.

Once both Storybook instances are active you'll be able to view the Component Library directly in the Executive Education instance.

Using Components in another Project

To access the built components from the Library you'll have to execute a shell command to copy the build files to the Component Library inside the project you're working on. Use the snippet below to create your copybuild.sh file & amend PATH_TO_THE_PROJECT with the root directory of the project you wish to access the Library from.

npm run build
PROJECT_PATH='PATH_TO_THE_PROJECT/node_modules/@lse/component-library/dist'
cp dist/index.js $PROJECT_PATH

FAQs

Package last updated on 11 Apr 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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc