You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
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
3.0.1

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [3.0.1](https://github.com/arminbro/generate-react-cli/compare/v3.0.0...v3.0.1) (2020-03-14)
## [3.0.0](https://github.com/arminbro/generate-react-cli/compare/v2.0.2...v3.0.0) (2019-12-14)

@@ -7,0 +9,0 @@

38

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

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

"chalk": "^3.0.0",
"commander": "^4.0.1",
"commander": "^5.0.0",
"deep-keys": "^0.5.0",
"fs-extra": "^8.1.0",
"inquirer": "^7.0.0",
"inquirer": "^7.1.0",
"lodash": "^4.17.15",
"replace": "^1.1.1"
"replace": "^1.1.5"
},
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/preset-env": "^7.7.6",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"babel-eslint": "^10.0.3",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.1.0",
"jest": "^24.9.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.0",
"standard-version": "^7.0.1"
"rimraf": "^3.0.2",
"standard-version": "^7.1.0"
},

@@ -76,0 +76,0 @@ "babel": {

const program = require('commander');
const chalk = require('chalk');
const pkg = require('../package.json');

@@ -10,3 +9,2 @@ const { generateComponent } = require('./actions/componentActions');

const { component } = cliConfigFile;
let commandNotFound = true;

@@ -27,14 +25,5 @@ program.version(pkg.version);

.action((componentName, cmd) => generateComponent(cmd, cliConfigFile, componentName))
.action(() => {
commandNotFound = false;
});
.action((componentName, cmd) => generateComponent(cmd, cliConfigFile, componentName));
program.parse(args);
if (commandNotFound) {
console.error(chalk.red('Command not found.'));
console.log(`Run ${chalk.green('generate-react --help')} to see a list of the commmands you can run.`);
process.exit(1);
}
};