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

https://github.com/josephgodwinkimani/vite-react-pwa-cypress

A Vite PWA + React + Typescript + Cypress starter template.
https://github.com/josephgodwinkimani/vite-react-pwa-cypress

boilerplate cypress frontend hmr husky lint-staged react typescript vite vite-template-react vitejs

Last synced: 7 months ago
JSON representation

A Vite PWA + React + Typescript + Cypress starter template.

Awesome Lists containing this project

README

          

# React + TypeScript + Vite PWA + Cypress

This template provides a minimal setup to get React working in Vite with HMR, Cypress for e2e/component testing and some ESLint useful rules.

## Command List

Run development server:

```bash
$ pnpm run dev
```
Run linting:

```bash
$ pnpm run lint
# add --fix at the end to fix issues
```
Run cypress tests:

```bash
$ pnpm run test
```
Instrumenting code using battle-hardened Istanbul:

```bash
$ pnpm run instrument
```
See code coverage summary:

```bash
$ pnpm run test:cov
```
Generate test report:

```bash
$ pnpm run test:report
```
Generate test coverage report:

```bash
$ pnpm run test:cov
```
Build:

```bash
$ pnpm run build
```