New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-flux-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flux-cli - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

.npmignore

8

index.js

@@ -56,3 +56,3 @@ #!/usr/bin/env node

fs.outputJson(getConfigFilePath(), config, function (err) {
if(err) return console.log(chalk.bold.red(`${err}`));
if(err) return console.log(chalk.bold.red(err));
console.log(chalk.green('Config file created at'), chalk.blue(getConfigFilePath()));

@@ -144,3 +144,3 @@ });

fs.outputFile(filePath, content, function (err) {
if(err) return console.log(chalk.bold.red(`${err}`));
if(err) return console.log(chalk.bold.red(err));
success();

@@ -154,3 +154,3 @@ });

}else{
console.log(chalk.bold.red(`${err}`));
console.log(chalk.bold.red(err));
console.log(chalk.red("To force the folder creation use -f (--force) option"));

@@ -177,3 +177,3 @@ }

program
.version('1.0.4')
.version('1.0.5')
.arguments('<fileName>')

@@ -180,0 +180,0 @@ .option('-j, --jsx', 'Create component file (.jsx)')

{
"name": "react-flux-cli",
"version": "1.0.4",
"version": "1.0.5",
"description": "A simple CLI to generate the basic structure of React and Flux files",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,5 +7,7 @@ # react-flux-cli

Based on the configuration file, react-flux-cli automatically resolves all relative paths to the dependences of the generated files.
A configuration file is generated at ~/.rfcli.json
## Installation
## Installation :

@@ -18,7 +20,9 @@ ```

### Create a single file
### Create a single file :
All directory can be modified in the config file.
React-flux-cli does not modify existing files and does not create non-existent folder. To force the writing or editing you can use the -f option ( --force )
```

@@ -38,3 +42,3 @@ rfcli -j Home

### Create all files
### Create all files :

@@ -51,3 +55,3 @@ Execute rfcli without option will generate all files.

## Configuration
## Configuration :

@@ -54,0 +58,0 @@ The default component structure based on [sublime-react](https://github.com/reactjs/sublime-react).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc