0.0.11 • Published 5 years ago
@amol_b_jamkar/testreactlibrary v0.0.11
Template for creating react library with storybook
- To quick start building react library.
- Using ReactJs.
- StoryBook
Tech
Installation
Install the dependencies.
$ npm install
To run storybook
npm run storybook
Create build
npm run build
Publish to npm
You need to sign up first to npm
npm login
npm version 0.0.1 // version to start with
npm publish --access=public // with public access to your library
Important links to read
libraryTarget
in Webpack config : https://github.com/umdjs/umd"How to?"
guide for storybook beginners. https://www.learnstorybook.com/react/en/simple-component/