Files
photo-live/services/worker/package.json
T

33 lines
899 B
JSON
Raw Normal View History

{
"name": "@photo/worker",
"version": "0.1.0",
"private": true,
"description": "CN photo worker (sharp 变体流水线、发布事务 + outbox、补偿扫描;Task 20/21)",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"start": "tsc -p tsconfig.build.json && node dist/main.js",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"test": "jest",
"test:e2e": "jest --config jest.e2e.config.cjs"
},
"dependencies": {
"@photo/contracts": "workspace:*",
"@photo/db-cn": "workspace:*",
"@photo/storage": "workspace:^",
"bullmq": "^6.3.6",
"ioredis": "^6.0.0",
"pino": "^10.0.0",
"sharp": "^0.35.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.700.0",
"@types/jest": "^29.5.13",
"@types/node": "^22.10.0",
"dotenv": "^16.4.5",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.0"
}
}