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.
- Host: GitHub
- URL: https://github.com/jamkaramol/testreactlibrary
- Owner: jamkaramol
- Created: 2019-04-22T12:03:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T07:01:20.000Z (over 6 years ago)
- Last Synced: 2024-10-06T08:07:54.562Z (about 1 year ago)
- Topics: component-library, free, libraries, library, quickstart, react, react-template, reactjs, storybook, template, webpack4
- Language: JavaScript
- Homepage:
- Size: 585 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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]: