ciriuc
React component generator
Last updated 5 months ago by dionid .
ISC · Repository · Bugs · Original npm · Tarball
$ cnpm install ciriuc -g
SYNC missed versions from official npm registry.

ciriuc

Helps you with creating react components.

Stack

This is technologies cli is using with:

  1. React
  2. classnames (classnames/bind to be clear)
  3. SCSS
  4. Flow
  5. Redux*

*-optional

Result

You will get structure like this:


path/to/directory/${ComponentName}
  - ${ComponentName}.js
  - ${ComponentName}.scss
  - package.json

Base API:

This will create component directory with .js, .scss and package.json


  crc comp path/to/directory/${ComponentName}

Functional

For functional component use flag -f OR --functional


  crc comp path/to/directory/${ComponentName} -f

Redux

For Redux connect use flag -r OR --redux


  crc comp path/to/directory/${ComponentName} -r

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |