1.1.3 • Published 6 years ago

react-front-cli v1.1.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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