Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chuntley/react-boilerplate

React 18, React-Router, Typescript, Vite, Zustand, Babel 7, React-Testing-Library, ESLint, Vitest
https://github.com/chuntley/react-boilerplate

babel7 boilerplate eslint react react-router react-testing-library typescript vitejs vitest zustand

Last synced: 23 days ago
JSON representation

React 18, React-Router, Typescript, Vite, Zustand, Babel 7, React-Testing-Library, ESLint, Vitest

Awesome Lists containing this project

README

        

React Boilerplate
========

![Build](https://github.com/chuntley/react-boilerplate/workflows/Build/badge.svg)

Installation
---

Requires Node >=18.x, excluding 19.x

Install Yarn: https://yarnpkg.com/lang/en/docs/install/

Clone and install dependencies:

```bash
$ git clone [email protected]:chuntley/react-boilerplate.git
$ cd react-boilerplate
$ yarn
```

Development
---
To lift the dev server with hot module reloading.
```bash
$ yarn dev
```
The output of the command will list the URL to the dev server.

Build
---

To bundle the React application
```bash
$ yarn dist
```

Testing
---

```bash
# run all tests including coverage report and linting
$ yarn test

# run tests in watch mode
$ yarn test:watch

# run single test without coverage or linting
$ yarn test:lite
```

Linting
---
```bash
$ yarn lint
```