Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 686 Bytes

File metadata and controls

38 lines (28 loc) · 686 Bytes

React Init Project - ReactJS 18 + TypeScript + ViteJS

I created this repository to minimize the time it takes to start a new project.

In this source code I have included settings related to eslint, prettier, create hooks for fetching data using axios, and also demo for unit testing. Besides, I also did some config to support our team work smoother with husky library.

Installation

$ yarn install

Running the app

$ yarn run dev

Test

# unit tests
$ yarn run test

# UI unit tests
$ yarn run test:ui

Lint & Prettier

# lint
$ yarn run lint
$ yarn run lint:fix

# prettier
$ yarn run prettier
$ yarn run prettier:fix