Skip to content

Command Line Tool to generate Basic React Project Skeleton

License

Notifications You must be signed in to change notification settings

pankajladhar/react-front-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

react-front-cli is a command line tool.

Installation

To install the stable version you can use npm or yarn:

$ npm install react-front-cli 
$ yarn install react-front-cli  

CLI

$ react-front-cli [options]

if option is not provided then $ react-front-cli -h will be executed.

CLI Options

  • -u, --updateversion Bumps up patch version, It will amend to exisiting local commit if exists else will create a new local commit
  • -c or --createcomponent Creates Skeletion of component
  • -V or --version Outputs the version number season-cli
  • -h or --help Outputs usage information

Component Structure

$ react-front-cli -c

Following structure has been generated where SampleComponent is component name.

createcomponent

└─ SampleComponent
   ├─ __tests__
     └─ SampleComponentSpec.js
   ├─ Readme.md
   ├─ SampleComponent.scss
   └─ Settings.scss

About

Command Line Tool to generate Basic React Project Skeleton

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published