/react-tour

Primary LanguageTypeScript

react typescript

This project aims to provide a template for creating new projects in react in the future. Feel free to fork and extend the project.

Setup

This project uses pnpm as a package management tool, but use any node package management tool to install packages.

pnpm i #installing base packages

Structure

.
├── jestconfig.json
├── package.json
├── pnpm-lock.yaml
├── README.md
├── src
│   ├── components
│   │   └── generic.tsx
│   └── index.ts
├── tests
│   └── components
│       └── generic.test.tsx
└── tsconfig.json

Eslint

Find and fix problems with your code

pnpm run lint

Prettier

Format your code

pnpm run prettier

Tests

pnpm run test