Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 907 Bytes

File metadata and controls

64 lines (42 loc) · 907 Bytes

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