Socket
Socket
Sign inDemoInstall

@usecapsule/core-components

Package Overview
Dependencies
Maintainers
7
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usecapsule/core-components

Capsule Core Components


Version published
Weekly downloads
1.4K
decreased by-17.77%
Maintainers
7
Weekly downloads
 
Created
Source

component-library

Cross-framework common component library

Install

yarn install

Running

The component examples can either be run in React or bare HTML.

React

yarn build
yarn start-react

HTML

yarn start-html

Building

This will build the component libraries for both web components and React.

yarn build

Generating New Components

This should be used when adding new components to the library. It will initialize the component, test and styles.

Once run, follow the prompts to name your component.

Note Components MUST begin the the cpsl- string in order for them to pass linting.

Note The styles should be changed to Sass once the component is generated. Rename the generated css file to scss and update the import in the component.

yarn generate

FAQs

Package last updated on 10 Sep 2024

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