Generate reactjs-typescript web application.
npm install -g reacts.gen
reacts.gen webapp
cd webapp
# Generate container
npm run gen:container
# Start application (http://localhost:8000)
npm run start:dev
Go to localhost:8000 to visit your app.
Create. Generate. Build.
One-Time install:
npm install -g reacts.gen
This tool requires Node > v6 .
Your project contains a few npm scripts that will help you in your development process
cmd | description |
---|---|
build | Build production ready dist |
gen:container | Generate container |
gen:component | Generate component |
gen:service | Generate service |
start:dev | Start development server |
test | Run jest |
test:coverage | Run jest and generate code coverage |
The goal of this tool is the generate a react project with structure, type safety, and consistent code styling.