1
0
Fork 0

add demo to readme

This commit is contained in:
Travis Fischer 2018-03-04 20:59:35 -05:00 committed by Joost De Cock
parent d6670a6fc4
commit e8873a9957
6 changed files with 2514 additions and 2 deletions

View file

@ -1,2 +1,2 @@
!templates/**/*
!templates/.gitignore
media

View file

@ -38,6 +38,8 @@ npm install -g react-modern-library-cli
react-modern-library-cli
```
![](https://raw.githubusercontent.com/transitive-bullshit/react-modern-library-cli/master/media/demo.gif)
Answer some basic prompts about your module, and then the CLI will perform the following steps:
- copy over the template to a new folder in the current directory
- install dependencies via yarn or npm
@ -48,6 +50,10 @@ At this point, your new module is all setup for local development.
## Development
![](https://raw.githubusercontent.com/transitive-bullshit/react-modern-library-cli/master/media/demo.png)
*(Breakdown of the files in your newly created module)*
Local development is broken into two parts.
First, you'll run rollup to watch your `src/` module and automatically recompile it into `dist/` whenever you make changes.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,8 @@
{
"name": "react-modern-library-cli",
"version": "1.3.0",
"version": "1.4.0",
"description": "CLI for easily bootstrapping modern react libraries",
"repository": "transitive-bullshit/react-modern-library-cli",
"main": "index.js",
"license": "MIT",
"bin": {