simple-rtg
v1.0.0
Published
Simple ReactJS app generator with Typescript
Downloads
2
Maintainers
Readme
Simple RTG - React Typescript Generator
===================
:cloud: Quick Start
The quickest way to get started is use npx and pass in the name of the project you want to create. If you don't specify a project name, the default simple-rtg
will be used instead. If you want to use yarn instead of npm, pass the option --useYarn
.
npx simple-rtg [--dest=<project-name>] [--useYarn]
Example:
npx simple-rtg --dest=my-project --useYarn
npm simple-rtg -d my-project -y
The process will take about 1-2 minutes. After that, your project is in ready-to-start. Start your React app in development mode by using:
cd "<project-name>" && npm run start
Example:
# Using npm
cd my-project && npm run start
# Using yarn
cd my-project && yarn start
:clipboard: Available Commands
start
- Run the server in development modebuild
- Bundle the project using webpackserve
- Run the server in production modelint
- Run linters (prettier
andeslint
) sequentially and autofix fixable errors if anylint:check
- Run linters (prettier
andeslint
) sequentially and reports errors if any
Thanks! :heart: