2026-09-17 19:14:41 +08:00
|
|
|
{
|
|
|
|
|
"name": "@photo/api-cn",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"description": "CN NestJS API service (P1a skeleton: bootstrap, /v1/health, request-id, error envelope)",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "tsc -p tsconfig.build.json",
|
2026-09-17 20:54:30 +08:00
|
|
|
"build:watch": "tsc -p tsconfig.build.json --watch",
|
2026-09-17 19:14:41 +08:00
|
|
|
"start": "tsc -p tsconfig.build.json && node dist/main-cn.js",
|
2026-09-18 14:11:05 +08:00
|
|
|
"start:ov": "tsc -p tsconfig.build.json && node dist/main-ov.js",
|
2026-09-17 20:54:30 +08:00
|
|
|
"seed": "tsc -p tsconfig.build.json && node dist/scripts/seed-admin.js",
|
2026-09-19 05:35:16 +08:00
|
|
|
"seed:it": "tsc -p tsconfig.build.json && node dist/scripts/seed-it-users.js",
|
2026-09-17 19:14:41 +08:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
|
"lint": "eslint .",
|
|
|
|
|
"test": "jest",
|
|
|
|
|
"test:e2e": "jest --config jest.e2e.config.ts"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@nestjs/common": "^10.4.6",
|
|
|
|
|
"@nestjs/core": "^10.4.6",
|
2026-09-18 17:51:55 +08:00
|
|
|
"@nestjs/event-emitter": "^3.1.0",
|
2026-09-17 19:14:41 +08:00
|
|
|
"@nestjs/platform-express": "^10.4.6",
|
2026-09-18 17:51:55 +08:00
|
|
|
"@nestjs/platform-ws": "^10.4.6",
|
|
|
|
|
"@nestjs/websockets": "^10.4.6",
|
2026-09-17 20:54:30 +08:00
|
|
|
"@node-rs/argon2": "^2.2.1",
|
2026-09-17 19:14:41 +08:00
|
|
|
"@photo/contracts": "workspace:*",
|
2026-09-17 19:51:56 +08:00
|
|
|
"@photo/db-cn": "workspace:*",
|
2026-09-18 14:11:05 +08:00
|
|
|
"@photo/db-ov": "workspace:*",
|
2026-09-17 22:42:13 +08:00
|
|
|
"@photo/storage": "workspace:^",
|
|
|
|
|
"bullmq": "^6.3.6",
|
2026-09-17 21:17:16 +08:00
|
|
|
"class-transformer": "^0.5.1",
|
|
|
|
|
"class-validator": "^0.15.1",
|
2026-09-17 22:42:13 +08:00
|
|
|
"ioredis": "^6.0.0",
|
2026-09-17 19:14:41 +08:00
|
|
|
"nestjs-pino": "^4.6.1",
|
|
|
|
|
"pino": "^10.0.0",
|
|
|
|
|
"pino-http": "^11.0.0",
|
|
|
|
|
"reflect-metadata": "^0.2.2",
|
2026-09-18 17:51:55 +08:00
|
|
|
"rxjs": "^7.8.1",
|
|
|
|
|
"ws": "^8.18.0"
|
2026-09-17 19:14:41 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-09-17 22:42:13 +08:00
|
|
|
"@aws-sdk/client-s3": "^3.700.0",
|
2026-09-17 19:14:41 +08:00
|
|
|
"@nestjs/testing": "^10.4.6",
|
|
|
|
|
"@types/jest": "^29.5.13",
|
|
|
|
|
"@types/node": "^22.10.0",
|
|
|
|
|
"@types/supertest": "^6.0.2",
|
2026-09-18 17:51:55 +08:00
|
|
|
"@types/ws": "^8.5.12",
|
2026-09-17 19:14:41 +08:00
|
|
|
"dotenv": "^16.4.5",
|
|
|
|
|
"jest": "^29.7.0",
|
2026-09-17 23:33:57 +08:00
|
|
|
"sharp": "^0.35.0",
|
2026-09-17 19:14:41 +08:00
|
|
|
"supertest": "^7.0.0",
|
|
|
|
|
"ts-jest": "^29.2.5",
|
|
|
|
|
"ts-node": "^10.9.2",
|
|
|
|
|
"typescript": "^5.6.0"
|
|
|
|
|
}
|
|
|
|
|
}
|