Skip to content

chuntley/react-boilerplate

Repository files navigation

React Boilerplate

Build

Installation

Requires Node 22.x, 24.x, 25.x, or 26.x

Install pnpm (via Corepack, bundled with Node): https://pnpm.io/installation

$ corepack enable pnpm

Clone and install dependencies:

$ git clone git@github.com:chuntley/react-boilerplate.git
$ cd react-boilerplate
$ pnpm install

Development

To lift the dev server with hot module reloading.

$ pnpm dev

The output of the command will list the URL to the dev server.

Build

To bundle the React application

$ pnpm dist

Testing

# run all tests including coverage report
$ pnpm test

# run tests in watch mode
$ pnpm test:watch

# run single test without coverage or linting
$ pnpm test:lite

Linting

$ pnpm lint

Formatting

$ pnpm format

About

React 19, React Compiler, React-Router, Biome, Typescript, Vite, Zustand, Babel 7, React-Testing-Library, Vitest

Topics

Resources

License

Stars

Watchers

Forks

Contributors