gen-reacts-app
v2.0.4
Published
A cli tool to generate react typescript application
Downloads
6
Maintainers
Readme
gen-reacts-app
Inspired by create-react-app, this small tool generates a production ready react with typescript web application. This base application contains tools like react-router, styled-components, typescript, webpack 4, plopjs for consistent templating, and jest snapshot testing.
Installation:
# With NPM
npm install -g gen-reacts-app
# With Yarn
yarn global add gen-reacts-app
This tool requires Node > v6 .
How to use:
gen-reacts-app <title>
Commands
| Command | Description | | :-----------: | :-------------------------------: | | build | production application build | | dev | run local dev application | | gen | run plop | | gen:common | generate common component | | gen:component | generate component | | gen:page | generate page | | gen:hoc | generate hoc | | test | run jest tests | | test:cov | run jest tests with test coverage |
Philosophy
The goal of this tool is the generate a react project with structure, type safety, and consistent code styling.
Resources
You can view the base react application here