1.0.2 • Published 6 years ago

react-typescript-gen v1.0.2

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

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

CommandDescription
buildproduction application build
devrun local dev application
genrun plop
gen:commongenerate common component
gen:componentgenerate component
gen:pagegenerate page
gen:hocgenerate hoc
testrun jest tests
test:covrun 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