* main: (31 commits) docs:更新README中的测试说明 chore:整理API测试脚本 test:添加验证码冷却时间清除功能测试 feat:集成验证码冷却时间自动清除机制 feat:添加验证码冷却时间清除功能 api:更新登录验证码接口Swagger注解 docs:更新登录验证码邮件模板修复相关文档 test:添加登录验证码邮件发送测试 fix:修复登录验证码邮件模板错误 feat: 邮箱冲突检测优化 v1.1.1 docs: 更新API文档,反映HTTP状态码修复 fix: 修复用户注册冲突错误的HTTP状态码问题 chore: 升级版本到1.1.0 feat(docs): 更新OpenAPI文档,添加验证码登录和完整接口定义 fix(docs): 修正API文档中的错误码和验证码说明 docs: 完善API文档,添加验证码登录功能说明 fix:修复注册逻辑和HTTP状态码问题 fix:修复API状态码和限流配置问题 chore: 清理旧文件和更新项目配置 refactor: 更新核心服务和应用配置 ...
75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"name": "pixel-game-server",
|
|
"version": "1.1.1",
|
|
"description": "A 2D pixel art game server built with NestJS - 支持验证码登录功能和邮箱冲突检测",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"dev": "nest start --watch",
|
|
"build": "nest build",
|
|
"start": "node dist/main.js",
|
|
"start:prod": "node dist/main.js",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:cov": "jest --coverage"
|
|
},
|
|
"keywords": [
|
|
"game",
|
|
"pixel",
|
|
"2d",
|
|
"server",
|
|
"nestjs"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@nestjs/common": "^11.1.9",
|
|
"@nestjs/config": "^4.0.2",
|
|
"@nestjs/core": "^11.1.9",
|
|
"@nestjs/platform-express": "^10.4.20",
|
|
"@nestjs/platform-socket.io": "^10.4.20",
|
|
"@nestjs/schedule": "^4.1.2",
|
|
"@nestjs/swagger": "^11.2.3",
|
|
"@nestjs/throttler": "^6.5.0",
|
|
"@nestjs/typeorm": "^11.0.0",
|
|
"@nestjs/websockets": "^10.4.20",
|
|
"@types/archiver": "^7.0.0",
|
|
"@types/bcrypt": "^6.0.0",
|
|
"archiver": "^7.0.1",
|
|
"axios": "^1.13.2",
|
|
"bcrypt": "^6.0.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.3",
|
|
"ioredis": "^5.8.2",
|
|
"mysql2": "^3.16.0",
|
|
"nestjs-pino": "^4.5.0",
|
|
"nodemailer": "^6.10.1",
|
|
"pino": "^10.1.0",
|
|
"reflect-metadata": "^0.1.14",
|
|
"rxjs": "^7.8.2",
|
|
"socket.io": "^4.8.3",
|
|
"swagger-ui-express": "^5.0.1",
|
|
"typeorm": "^0.3.28",
|
|
"uuid": "^13.0.0",
|
|
"ws": "^8.18.3",
|
|
"zulip-js": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.4.9",
|
|
"@nestjs/schematics": "^10.2.3",
|
|
"@nestjs/testing": "^10.4.20",
|
|
"@types/express": "^5.0.6",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^20.19.27",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/supertest": "^6.0.3",
|
|
"fast-check": "^4.5.2",
|
|
"jest": "^29.7.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"socket.io-client": "^4.8.3",
|
|
"supertest": "^7.1.4",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|