🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@cube-dev/purple-banner

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cube-dev/purple-banner

React-component for showing Cube Dev, Inc. events on our websites.

latest
Source
npmnpm
Version
2.0.25
Version published
Maintainers
4
Created
Source

@cube-dev/purple-banner

The Purple Banner is a React-component for showing Cube Dev, Inc. events on our websites.

Developing

Run Storybook for easy developing by npm run storybook.

Local testing

  • Build the package by command npm run build:preview.

Note: in some cases there are mistakes with React hooks because of few versions of React. In this case run npm link __path-to-website-directory__/node_modules/react in package directory before build command.

  • Run npm link to place the package in local registry.

  • Go to webapp directory and run npm link "@cube-dev/purple-banner". Now you can use @cube-dev/purple-banner inside your webapp.

import PurpleBanner from "@cube-dev/purple-banner";
  • When you'll finish just unlink package by command npm unlink "@cube-dev/purple-banner".

FAQs

Package last updated on 07 Apr 2026

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