Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chuntley/react-boilerplate
- Owner: chuntley
- License: mit
- Created: 2017-07-07T02:49:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-24T19:24:59.000Z (about 1 month ago)
- Last Synced: 2024-10-01T00:42:52.617Z (about 1 month ago)
- Topics: babel7, boilerplate, eslint, react, react-router, react-testing-library, typescript, vitejs, vitest, zustand
- Language: TypeScript
- Homepage:
- Size: 1.65 MB
- Stars: 32
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```