0.0.9 • Published 5 years ago
msc-demo-4 v0.0.9
Get Started
To start your own React component library, clone this repository and start your own Git journey!
$ git clone https://github.com/cwlsn/rinse-react cool-name
$ cd cool-name
$ rm -rf .git
$ git init
Development and Storybook
You can easily develop and interact with your components by using Storybook. To run the local server, simply run:
$ npm i
$ npm run storybook
Navigate to http://localhost:9001 to view your stories. They should automatically update as you develop.
Storybook will pick up any story from the stories.js
file in a component folder.
Development and Styleguidist
To start styleguiding locally
npx styleguidist server
Publish to NPM
To publish to NPM
npm run build
npm login
npm publish
npm info [package-name]