nh=1 隐藏 H5 顶栏并由 cover 承载 logo;H5 仅 4px 顶距避免重复留白。新增 dev:mp、deploy:h5 与联调文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
1.0 KiB
JSON
29 lines
1.0 KiB
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",
|
|
"dev:mp": "bash scripts/dev-mp-h5.sh",
|
|
"build:h5": "npm run build -w @yuxingu/user-h5",
|
|
"deploy:h5": "bash scripts/deploy-h5.sh",
|
|
"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"
|
|
}
|
|
}
|