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

react-create-component

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-create-component

Create react components based on templates

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

React Create Component.

A command line component generator with a React, Jest, Styled-components and storybook template component.

Installing

Installing globally with npm

  • sudo npm install react-create-component -g
  • clone the project
  • git clone https://github.com/andre-araujo/react-create-component.git
  • navigate to project folder
  • cd /react-create-component
  • use npm link
  • npm link

Usage

  • Generate component into current directory

  • react-create-component ComponentName

  • Generate component into subdirectory

  • react-create-component ComponentName ./existing-folder-path

Generated directory

/ComponentName
    /ComponentName.js
    /ComponentName.spec.js
    /ComponentName.stories.js
    /styles.js
    /index.js

Keywords

FAQs

Package last updated on 15 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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