Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @helpscout/blue with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. require("react-dom/package.json"); // react-dom is a peer dependency. var blue = require("@helpscout/blue")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@helpscout/blue v2.0.0

Help Scout's React component library

🔷 Blue

Build Status Coverage Status npm version node npm

Help Scout's React component library

Live Demo

Check out Blue's Storybook:

https://hsblue.surge.sh/

Install

npm install @helpscout/blue --save

Getting Started

After cloning this repo down, run:

npm install

Once everything is installed, run:

npm start

Check out Blue's Storybook at http://localhost:8900/ in your browser!

Testing

To run Jest in watch mode, run:

npm run dev

To execute all the tests (with Coverage reporting), run:

npm run test

Publishing

To publish and release a new version of Blue, run the following command:

npm run release

You'll be presented with a CLI prompt with options. Pick the one you want, and that's it! The script will take care of the rest (from testing to publishing).

Deploying Storybook

To deploy the Storybook, run the following command:

npm run deploy

Extras

You're my boy, Blue!

You're my boy, Blue!

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free