Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

add-component

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-component - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

6

index.js

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

const ReduxActions = require('./components/redux-actions.js')
// const ReduxStore = require('./redux/ReduxStore')
const ReduxActionTypes = require('./components/redux-actionTypes.js')

@@ -27,4 +26,4 @@ const ReduxReducer = require('./components/redux-reducer.js')

.option('-f, --fn', 'Create Function Component')
.option('-s, --store', 'Create Redux Store')
.option('-c, --css', `Add ${componentName}.css`)
.option('-r, --redux', 'Create Redux Store')
.option('-s, --style', `Add ${componentName}.css`)
.parse(process.argv)

@@ -70,5 +69,4 @@

ReduxActions(rootDirectory, name)
// ReduxStore(rootDirectory, name)
ReduxActionTypes(rootDirectory, name)
ReduxReducer(rootDirectory, name)
}
{
"name": "add-component",
"version": "2.1.1",
"version": "2.2.0",
"description": "Create React Component CLI",

@@ -5,0 +5,0 @@ "repository": {

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