go-react

0.0.1 • Public • Published

G React Generator

npm install -g go-react

CLI Usage

Args

  • c - component name
  • t - component type. Valid types are: component, pure, container (defaults to component)
  • d - component's base directory
g react -c Button -t pure -d ./src

This will generate a Button pure component in the currect working directory's src folder

src/
  Button/
    Button.js
    Button.spec.js
    index.js

Readme

Keywords

none

Package Sidebar

Install

npm i go-react

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

5.27 kB

Total Files

10

Last publish

Collaborators

  • paulserraino