An open API service indexing awesome lists of open source software.

https://github.com/jamkaramol/testreactlibrary

It is a boiler plate for creating react library with story book and webpack.
https://github.com/jamkaramol/testreactlibrary

component-library free libraries library quickstart react react-template reactjs storybook template webpack4

Last synced: 1 day ago
JSON representation

It is a boiler plate for creating react library with story book and webpack.

Awesome Lists containing this project

README

          

# Template for creating react library with storybook

- To quick start building react library.
- Using ReactJs.
- StoryBook

### Tech
* [ReactJs]
* [Storybook]
* [webpack]
* [npm]

### 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/

[ReactJS]:
[Storybook]:
[webpack]:
[npm]: