Files
digital-psychology/package.json
T
jackyu66gitandCursor 7e9023f0a8
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s
test(e2e): 前后台联调 Playwright 与 admin 冒烟
新增 e2e-live 真 API 一致性全路径,并为 admin-h5 增加 mock 浏览器冒烟。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 22:41:43 +08:00

27 lines
980 B
JSON

{
"name": "yuxingu",
"private": true,
"workspaces": [
"apps/user-h5",
"apps/admin-h5",
"e2e-live",
"packages/*"
],
"scripts": {
"dev:h5": "npm run dev -w @yuxingu/user-h5",
"build:h5": "npm run build -w @yuxingu/user-h5",
"dev:admin": "npm run dev -w @yuxingu/admin-h5",
"build:admin": "npm run build -w @yuxingu/admin-h5",
"dev:api": "cd apps/api && go run ./cmd/server",
"deps:up": "docker compose -f docker-compose.dev.yml up -d",
"deps:down": "docker compose -f docker-compose.dev.yml down",
"deps:ps": "docker compose -f docker-compose.dev.yml ps",
"test:h5": "npm run test -w @yuxingu/user-h5",
"test:e2e": "npm run test:e2e -w @yuxingu/user-h5",
"test:e2e:admin": "npm run test:e2e -w @yuxingu/admin-h5",
"test:e2e:live": "npm run test -w @yuxingu/e2e-live",
"test:api": "cd apps/api && go test ./...",
"test:api:integration": "cd apps/api && go test ./internal/integration/ -count=1"
}
}