🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

generate-react-cli

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-react-cli - npm Package Compare versions

Comparing version

to
8.1.2

9

package.json
{
"name": "generate-react-cli",
"version": "8.1.1",
"version": "8.1.2",
"description": "A simple React CLI to generate components instantly and more.",

@@ -59,3 +59,3 @@ "repository": "https://github.com/arminbro/generate-react-cli",

"@semantic-release/release-notes-generator": "10.0.3",
"eslint": "8.29.0",
"eslint": "8.30.0",
"eslint-config-airbnb-base": "15.0.0",

@@ -75,7 +75,2 @@ "eslint-config-prettier": "8.5.0",

"release": {
"branches": [
"alpha",
"beta",
"main"
],
"plugins": [

@@ -82,0 +77,0 @@ "@semantic-release/commit-analyzer",

@@ -414,3 +414,3 @@ # Generate React CLI

```sh
npx generate-react-cli c Counter -d "Create a counter component that increments by one when I click on the increment button"
npx generate-react-cli@alpha c Counter -d "Create a counter component that increments by one when I click on the increment button"
```

@@ -448,3 +448,3 @@

```sh
npx generate-react-cli c GlobalNav -d "Create a navbar component with 1 logo named 'GRC' and 3 links: 'Home', 'About', 'Contact'"
npx generate-react-cli@alpha c GlobalNav -d "Create a navbar component with 1 logo named 'GRC' and 3 links: 'Home', 'About', 'Contact'"
```

@@ -451,0 +451,0 @@

@@ -27,3 +27,4 @@ import {

)
.option('-f, --flat', 'Generate the files in the mentioned path insted of creating new folder for it', false);
.option('-f, --flat', 'Generate the files in the mentioned path insted of creating new folder for it', false)
.option('-dr, --dry-run', 'Show what will be generated without writing to disk');

@@ -42,4 +43,2 @@ // Dynamic component command option defaults.

componentCommand.option('--dry-run', 'Show what will be generated without writing to disk');
// Component command action.

@@ -46,0 +45,0 @@