Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

roger-king/gen-reacts-app

Repository files navigation

ARCHIVED:

Just use create-react-app (as it supports typescript): Keep an eye out for a repurpose of this library's plop templates. I am looking to create a template generator tool for react components that will speed up your development.

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

About

A react.js web frontend full suite solution. It aims to provide you a streamline process from development to production!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published