Merge pull request #3 from transitive-bullshit/feature/rename-create-react-library
rename to packages/create-freesewing-pattern/create-react-library; update demo
This commit is contained in:
parent
8fd5eea43b
commit
99c7176872
9 changed files with 26 additions and 10 deletions
|
@ -1,14 +1,16 @@
|
|||
# react-modern-library-cli
|
||||
# create-react-library
|
||||
|
||||
> CLI for easily publishing modern React modules with Rollup and example usage via create-react-app.
|
||||
|
||||
[](https://www.npmjs.com/package/react-modern-library-cli) [](https://standardjs.com)
|
||||
[](https://www.npmjs.com/package/create-react-library) [](https://standardjs.com)
|
||||
|
||||
## Intro
|
||||
|
||||
**The purpose of this CLI is to make publishing your own React components as simple as possible.**
|
||||
|
||||

|
||||
<p align="center">
|
||||
<img width="600" src="https://cdn.rawgit.com/transitive-bullshit/create-react-library/master/media/demo.svg">
|
||||
</p>
|
||||
|
||||
The CLI is based on this [boilerplate](https://github.com/transitive-bullshit/react-modern-library-boilerplate), which you can optionally read in-depth about [here](https://hackernoon.com/publishing-baller-react-modules-2b039d84bce7).
|
||||
|
||||
|
@ -31,13 +33,13 @@ The CLI is based on this [boilerplate](https://github.com/transitive-bullshit/re
|
|||
## Install
|
||||
|
||||
```bash
|
||||
npm install -g react-modern-library-cli
|
||||
npm install -g create-react-library
|
||||
```
|
||||
|
||||
## Creating a New Module
|
||||
|
||||
```bash
|
||||
react-modern-library-cli
|
||||
create-react-library
|
||||
```
|
||||
|
||||
Answer some basic prompts about your module, and then the CLI will perform the following steps:
|
||||
|
@ -48,7 +50,9 @@ Answer some basic prompts about your module, and then the CLI will perform the f
|
|||
|
||||
At this point, your new module should resemble this screenshot and is all setup for local development.
|
||||
|
||||

|
||||
<p align="center">
|
||||
<img width="600" src="https://cdn.rawgit.com/transitive-bullshit/create-react-library/master/media/tree.svg">
|
||||
</p>
|
||||
|
||||
## Development
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue