react-creatify
simple react component generator
Last updated 3 months ago by tictak21 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-creatify 
SYNC missed versions from official npm registry.

react-creatify

Simple react component generator

Installation

npm i -g react-creatify

Usage:

creatify --componentName=App --style=css --typing=js

or

creatify --componentName=Sidebar --typing=ts

or

creatify --componentName=Header --style=styl

NOTE: All arguments are optional.

Default values: --componentName=App --style=css --typing=js

For example: creatify --componentName=App --style=css --typing=js

This command will create a folder App in src folder with this file structure:

src
  └── App
    ├── App.css
    ├── App.js
    └── index.js

where:

  1. App.js - component file,
  2. App.css - component styles file,
  3. index.js - default import/export for App.js

Troubleshooting

Feel free to open an issue or leave feedback on email.

Current Tags

  • 0.3.2                                ...           latest (3 months ago)

11 Versions

  • 0.3.2                                ...           3 months ago
  • 0.3.1                                ...           4 months ago
  • 0.2.1                                ...           4 months ago
  • 0.1.1                                ...           4 months ago
  • 0.1.0                                ...           4 months ago
  • 0.0.6                                ...           4 months ago
  • 0.0.5                                ...           4 months ago
  • 0.0.4                                ...           4 months ago
  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           4 months ago
  • 0.0.1                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 11
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |