You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.4 KiB

{
"name": "aguzhitou-backend",
"version": "1.0.0",
"description": "A股智投分析平台后端服务",
"main": "dist/app.js",
"scripts": {
"dev": "tsx watch src/app.ts",
"build": "tsc",
"start": "node dist/app.js",
"db:generate": "prisma generate",
"db:migrate": "prisma migrate dev",
"db:deploy": "prisma migrate deploy",
"db:seed": "tsx prisma/seed.ts",
"db:studio": "prisma studio",
"lint": "eslint src --ext .ts",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"@prisma/client": "^5.10.0",
"axios": "^1.6.7",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"express-rate-limit": "^7.2.0",
"helmet": "^7.1.0",
"ioredis": "^5.3.2",
"jsonwebtoken": "^9.0.2",
"node-cron": "^3.0.3",
"socket.io": "^4.7.4",
"winston": "^3.12.0",
"winston-daily-rotate-file": "^5.0.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.11.24",
"@types/node-cron": "^3.0.11",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"prisma": "^5.10.0",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=20.0.0"
}
}