|
4 | 4 | "private": true,
|
5 | 5 | "type": "module",
|
6 | 6 | "scripts": {
|
7 |
| - "cy:open": "cypress open", |
8 |
| - "cy:run": "cypress run", |
9 |
| - "docs:build": "cross-env E2E_COMMAND=build vuepress build docs --clean-cache --clean-temp", |
| 7 | + "cy:open:build": "cross-env E2E_COMMAND=build cypress open", |
| 8 | + "cy:open:dev": "cross-env E2E_COMMAND=dev cypress open", |
| 9 | + "cy:run:build": "cross-env E2E_COMMAND=build cypress run", |
| 10 | + "cy:run:dev": "cross-env E2E_COMMAND=dev cypress run", |
| 11 | + "docs:build": "vuepress build docs --clean-cache --clean-temp", |
10 | 12 | "docs:build-webpack": "cross-env E2E_BUNDLER=webpack pnpm docs:build",
|
11 | 13 | "docs:clean": "rimraf docs/.vuepress/.temp docs/.vuepress/.cache docs/.vuepress/dist",
|
12 |
| - "docs:dev": "cross-env E2E_COMMAND=dev vuepress dev docs --clean-cache --clean-temp", |
| 14 | + "docs:dev": "vuepress dev docs --clean-cache --clean-temp", |
13 | 15 | "docs:dev-webpack": "cross-env E2E_BUNDLER=webpack pnpm docs:dev",
|
14 | 16 | "docs:serve": "anywhere -s -h localhost -p 9080 -d docs/.vuepress/dist",
|
15 |
| - "e2e:build": "pnpm docs:clean && pnpm docs:build && start-server-and-test docs:serve http-get://localhost:9080 cy:run", |
16 |
| - "e2e:dev": "pnpm docs:clean && start-server-and-test docs:dev http-get://127.0.0.1:9080 cy:run" |
| 17 | + "e2e:build": "pnpm docs:clean && pnpm docs:build && start-server-and-test docs:serve http-get://localhost:9080 cy:run:build", |
| 18 | + "e2e:dev": "pnpm docs:clean && start-server-and-test docs:dev http-get://127.0.0.1:9080 cy:run:dev" |
17 | 19 | },
|
18 | 20 | "dependencies": {
|
19 | 21 | "@vuepress-e2e/conditional-exports": "file:./modules/conditional-exports",
|
|
0 commit comments