Files
chat-one-service/package.json
alboped 3076b7ec54
Some checks failed
CI / ci (push) Failing after 2s
chore: 重构 CI/CD 与 Docker 发布流程
将部署链路调整为 CI 构建推送镜像、服务器拉取镜像运行,并拆分/复用 Gitea workflow 与公共准备脚本;同时统一 APP_NAME 与端口变量配置,补充 Docker 与 ESLint 相关配置文件以提升可维护性。

Made-with: Cursor
2026-04-28 01:44:37 +08:00

60 lines
1.7 KiB
JSON

{
"name": "chat-one-service",
"version": "1.0.0",
"description": "ChatOne service",
"main": "dist/main.js",
"repository": "ssh://git@git.alboped.com:8022/alboped/chat-one-service.git",
"author": "alboped <shi_zhaojun@aliyun.com>",
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc -p tsconfig.json",
"start": "node dist/main.js",
"start:dev": "tsx watch src/main.ts",
"start:debug": "node --inspect=0.0.0.0:9229 dist/main.js",
"lint": "eslint \"src/**/*.ts\"",
"postinstall": "prisma generate"
},
"dependencies": {
"@fastify/static": "^9.1.1",
"@nestjs/common": "^11.1.19",
"@nestjs/config": "^4.0.4",
"@nestjs/core": "^11.1.19",
"@nestjs/jwt": "^11.0.2",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-fastify": "^11.1.19",
"@nestjs/schedule": "^6.1.3",
"@nestjs/swagger": "^11.3.0",
"@nestjs/throttler": "^6.5.0",
"@prisma/adapter-pg": "^7.7.0",
"@prisma/client": "^7.7.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"dayjs": "^1.11.20",
"dotenv": "^17.4.2",
"helmet": "^8.1.0",
"ioredis": "^5.10.1",
"nestjs-pino": "^4.6.1",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"pg": "^8.20.0",
"pino-http": "^11.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"undici": "^8.1.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^25.6.0",
"eslint": "^10.2.0",
"globals": "^17.5.0",
"pino-pretty": "^13.1.3",
"prettier": "^3.8.3",
"prisma": "^7.7.0",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"typescript-eslint": "^8.59.0"
}
}