storybook-react-demo

1.1.0 • Public • Published

storybook-react-demo

semantic-release Build Status npm version code style: prettier JavaScript Style Guide

This is the resulting project for my All Things Open presentation, "Secrets to Modular Component Design Systems".

Storybook Demo: https://priley86.github.io/storybook-react-demo/

Getting Started

npm install --save storybook-react-demo

Then import UI modules as ES6 modules:

import { Button } from 'storybook-react-demo'

Storybook UI Development

This project uses React Storybook to test and demo new React UI components.

How to use Storybook locally:

npm i
npm run storybook

How to deploy storybook to github pages in your fork:

npm run build-storybook
npm run storybook:deploy

To deploy Storybook to a remote other than origin, pass a --remote flag to npm run storybook:deploy. For example, to deploy to your upstream remote:

npm run storybook:deploy -- --remote=upstream

To deploy Storybook to a target branch and serve with rawgit instead of gh-pages, pass --branch flag to npm run storybook:deploy. For example, to deploy to feature-branch target:

npm run storybook:deploy -- --branch=feature-branch

Readme

Keywords

none

Package Sidebar

Install

npm i storybook-react-demo

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • priley86