generate-react-cli
Advanced tools
Comparing version
{ | ||
"name": "generate-react-cli", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"description": "A simple React CLI to generate components instantly and more.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -8,3 +8,2 @@ # Generate React CLI | ||
## Why? | ||
To help speed up productivity in React projects and stop copying, pasting, and renaming files each time you want to create a new component. | ||
@@ -17,3 +16,2 @@ | ||
## Install | ||
`npm i -g generate-react-cli` | ||
@@ -25,3 +23,2 @@ | ||
### e.g. **generate-react-cli.json** | ||
```json | ||
@@ -45,5 +42,7 @@ { | ||
### Generate Component | ||
`generate-react component <ComponentName>` | ||
#### Shorthand | ||
`g-r c <ComponentName>` | ||
This command will create a folder with your component name within your default (e.g. **src/components**) directory, and its corresponding files. | ||
@@ -50,0 +49,0 @@ |
16529
0.22%56
-1.75%