1.1.0 • Published 7 years ago

storybook-react-demo v1.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

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
1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago