duoqi-api/package.json
Wang Zhuoxuan f6ce7ce431
Some checks failed
CI/CD Pipeline / Code Quality (push) Successful in 17s
CI/CD Pipeline / Unit Tests (push) Successful in 13s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Failing after 29s
CI/CD Pipeline / Deploy to Production (push) Has been skipped
fix: 修复 CI 测试阶段依赖缺失问题
- 安装 @vitest/coverage-v8@4.1.4 作为 devDependency
- 更新 vitest 从 4.1.3 到 4.1.4 以匹配版本
- CI workflow 改用 test 而非 test:coverage,移除覆盖率上传
2026-04-17 15:07:08 +08:00

50 lines
1.3 KiB
JSON

{
"name": "duoqi-api",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:seed": "tsx db/seeds/index.ts",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@fastify/cors": "^11.0.0",
"@fastify/helmet": "^13.0.0",
"@fastify/jwt": "^9.0.0",
"@fastify/rate-limit": "^10.2.0",
"bcryptjs": "^3.0.3",
"dotenv": "^16.5.0",
"drizzle-orm": "^0.44.0",
"fastify": "^5.3.0",
"mysql2": "^3.12.0",
"pino": "^9.6.0",
"uuid": "^11.1.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@types/bcryptjs": "^3.0.0",
"@types/node": "^24.0.0",
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "^4.1.4",
"drizzle-kit": "^0.31.0",
"eslint": "^9.25.0",
"pino-pretty": "^13.1.3",
"tsx": "^4.19.0",
"typescript": "~5.8.0",
"typescript-eslint": "^8.30.0",
"vitest": "^4.1.4"
}
}