Skip to content

okobsamoht/grcf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grcf

An CLI generator for ReactJS components.

Install

Run

npm install -g grcf

You may need to sudo it.


## Usage

Generate Component

Run

grcf <ComponentName>

This will create a folder of your component name, and a Component js file with the same name.


options
  • -jsx to create a jsx component [default]
  • -tsx to create a typescript component
  • -scss to create a scss style file for the component
  • -file to create a single file component
  • -notest to skip test file creation for the component
  • -nostyle to skip style file creation for the component

That's it!

Enjoy and feel free to share your suggestion!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published