# vite-e2e-cypress

> A simple script to run cypress e2e test with vite as dev server

Latest version **1.0.10** (published 2022-10-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install vite-e2e-cypress
pnpm add vite-e2e-cypress
yarn add vite-e2e-cypress
bun add vite-e2e-cypress
```

Provides the command `vite-cy-e2e`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2022-10-10 |
| First published | 2022-04-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 (+15 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | roackb2@gmail.com |
| Maintainers | roackb2 |
| Keywords | vite, cypress, e2e |

## Links

- npm: https://www.npmjs.com/package/vite-e2e-cypress
- Repository: https://github.com/bluexlab/vite-e2e-cypress
- Homepage: https://github.com/bluexlab/vite-e2e-cypress#readme
- Issues: https://github.com/bluexlab/vite-e2e-cypress/issues
- npm.io page: https://npm.io/package/vite-e2e-cypress

## Dependencies (4)

- [vite](https://npm.io/package/vite.md) ^2.0.0
- [execa](https://npm.io/package/execa.md) ^6.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [commander](https://npm.io/package/commander.md) ^9.2.0

## Alternatives

- [@snazzah/davey](https://npm.io/package/@snazzah/davey.md) — 1.5M weekly downloads
- [@vendure/testing](https://npm.io/package/@vendure/testing.md) — 8.3K weekly downloads
- [vue-simple-context-menu](https://npm.io/package/vue-simple-context-menu.md) — 6.6K weekly downloads
- [cypress-webpack-preprocessor-v5](https://npm.io/package/cypress-webpack-preprocessor-v5.md) — 2.1K weekly downloads
- [@backstage/plugin-catalog-backend-module-puppetdb](https://npm.io/package/@backstage/plugin-catalog-backend-module-puppetdb.md) — 1.3K weekly downloads

## Recent versions

- 1.0.10 (latest) — 2022-10-10
- 1.0.9 — 2022-09-22
- 1.0.8 — 2022-09-20
- 1.0.7 — 2022-09-19
- 1.0.6 — 2022-05-01
- 1.0.5 — 2022-04-28
- 1.0.4 — 2022-04-26
- 1.0.3 — 2022-04-26
- 1.0.2 — 2022-04-24
- 1.0.1 — 2022-04-24
- 1.0.0 — 2022-04-24

## README

# vite-e2e-cypress

Run cypress e2e tests within your Vite project.

### Install
```shell
npm install vite-e2e-cypress --save-dev
```

### Usage

Run all spec files
```shell
vite-cy-e2e
```

View all options
```shell
vite-cy-e2e --help
```

Running particular spec files

```shell
vite-cy-e2e --headless -s '**/*.spec.js'
```

Specify vite config file path. This example is also the default value.

```shell
vite-cy-e2e -c ./vite.config.ts
```

Specify vite root path. This example is also the default value.

```shell
vite-cy-e2e -r .
```

Run in different mode (default to production)
```shell
vite-cy-e2e -m development
```

Run dev server instead of build the app and run preview server.
Might be helpful for local development to reflect code change immediately without restarting cypress.
```shell
vite-cy-e2e -d
```

---
_Source: https://npm.io/package/vite-e2e-cypress · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
