quangnguyen17 / react-typescript-starter-project

React/Typescript production-ready project template with all the necessary dev tools so that you can start building your project immediately πŸ§‘πŸ»β€πŸ’» πŸš€

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-typescript-template

  • React/Typescript production-ready project template with all the necessary dev tools so that you can start building your project immediately πŸ§‘πŸ»β€πŸ’» πŸš€.
  • What does this template come with?

Prerequisites

  • Must have git installed.
  • Must have Node latest LTS version installed.

How to use this template

Run the command below to create a new project and replace your-project-name with your actual project name:

git clone https://github.com/quangnguyen17/react-typescript-template.git your-project-name

To install project dependencies:

npm install

To start project:

npm run start

To run unit tests:

npm run test

# for CI/CD
npm run test:ci

To run e2e tests:

npm run cy

# for CI/CD
npm run cy:ci

To format your code:

npm run prettier

To create a production build:

npm run build

Husky hooks:

  • pre-commit hook runs Prettier code formatting and unit tests.

About

React/Typescript production-ready project template with all the necessary dev tools so that you can start building your project immediately πŸ§‘πŸ»β€πŸ’» πŸš€


Languages

Language:JavaScript 44.0%Language:TypeScript 36.2%Language:Shell 13.1%Language:HTML 6.1%Language:CSS 0.6%