- 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?
- Jest for Unit Testing (from
create-react-app
). - Typescript support (from
create-react-app
). - Cypress for E2E Testing.
- Prettier for code formatting.
- Husky for git hooks to ensure better commits for your code.
- Jest for Unit Testing (from
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
npm install
npm run start
npm run test
# for CI/CD
npm run test:ci
npm run cy
# for CI/CD
npm run cy:ci
npm run prettier
npm run build
pre-commit
hook runs Prettier code formatting and unit tests.