ciriuc

1.2.11 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ciriuc

Weekly Downloads

14

Version

1.2.11

License

ISC

Last publish

Collaborators

  • dionid