react-front-cli
v1.1.3
Published
Node CLI utility for creating react component library
Downloads
2
Readme
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.
└─ SampleComponent
├─ __tests__
│ └─ SampleComponentSpec.js
├─ Readme.md
├─ SampleComponent.scss
└─ Settings.scss