1.0.2 • Published 7 years ago
react-typescript-gen v1.0.2
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-appThis 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