A boilerplate generator for React apps
node >= v6.0.0
,git
- Install this repo globally with npm. Type the following command in the cli
$ npm install -g generate-react-boilerplate
- Once you have installed it globally it will be available on the command line by the name
generate-boilerplate
. Type the following command in the cli
$ generate-boilerplate init
- You will be prompted to enter a project
type
,name
,description
,version
, andauthor
. Project type and name are the only required fields. After you enter the information into the prompts, a directory will be created with the project name and the boilerplate will be cloned into it. All the dependencies will be installed and it will be a new project not connected to its original git repo.