https://github.com/mdibyo/react-library-starter
https://github.com/mdibyo/react-library-starter
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdibyo/react-library-starter
- Owner: mDibyo
- Created: 2019-02-10T21:38:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T21:36:51.000Z (over 7 years ago)
- Last Synced: 2025-01-01T15:25:10.157Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-library-starter
Small set of starter files to bootstrap your react library development process. Uses rollup
To get started:
```bash
git clone https://github.com/mDibyo/react-library-starter [your-library-name]
cd your-library-name
# Remove this repository and initialize your own repository
rm -rf .git
git init
yarn # or `npm install`
```
Now, you can start editing `src/index.js`. To build:
```bash
yarn build # or `npm build`
```
To publish,
Edit `package.json` and then,
```bash
yarn publish # or `npm publish`
```
As part of the publishing process, the build script will be run.