Skip to content

Commit

Permalink
test: use cross-env for e2e scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Jan 25, 2024
1 parent 8518798 commit 76dd90c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
9 changes: 5 additions & 4 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"private": true,
"type": "module",
"scripts": {
"e2e:build": "E2E_COMMAND=build vuepress build docs --clean-cache --clean-temp",
"e2e:build-webpack": "E2E_BUNDLER=webpack pnpm e2e:build",
"e2e:build": "cross-env E2E_COMMAND=build vuepress build docs --clean-cache --clean-temp",
"e2e:build-webpack": "cross-env E2E_BUNDLER=webpack pnpm e2e:build",
"e2e:ci:build": "pnpm e2e:build && start-server-and-test e2e:serve http-get://localhost:9080 e2e:run",
"e2e:ci:dev": "start-server-and-test e2e:dev http-get://127.0.0.1:9080 e2e:run",
"e2e:clean": "rimraf docs/.vuepress/.temp docs/.vuepress/.cache docs/.vuepress/dist",
"e2e:dev": "E2E_COMMAND=dev vuepress dev docs --clean-cache --clean-temp",
"e2e:dev-webpack": "E2E_BUNDLER=webpack pnpm e2e:dev",
"e2e:dev": "cross-env E2E_COMMAND=dev vuepress dev docs --clean-cache --clean-temp",
"e2e:dev-webpack": "cross-env E2E_BUNDLER=webpack pnpm e2e:dev",
"e2e:open": "cypress open",
"e2e:run": "cypress run",
"e2e:serve": "anywhere -s -h localhost -p 9080 -d docs/.vuepress/dist"
Expand All @@ -26,6 +26,7 @@
},
"devDependencies": {
"anywhere": "^1.6.0",
"cross-env": "^7.0.3",
"cypress": "^13.6.3",
"process": "^0.11.10",
"start-server-and-test": "^2.0.3"
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76dd90c

Please sign in to comment.