Files
wxmp_backend/package.json
T

69 lines
2.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "wxmp-backend",
"version": "0.1.0",
"description": "微信小程序后端 APINestJS + Prisma + PostgreSQL + Redis + BullMQ + 腾讯云 COS",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"prisma/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,prisma,test}/**/*.ts\" --fix",
"start": "node dist/main.js",
"start:dev": "ts-node-dev --respawn --transpile-only src/main.ts",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main.js",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate deploy",
"prisma:migrate:dev": "prisma migrate dev",
"prisma:studio": "prisma studio",
"prisma:seed": "ts-node prisma/seed.ts",
"db:up": "docker compose up -d postgres redis",
"db:down": "docker compose down"
},
"dependencies": {
"@nestjs/bullmq": "^11.0.0",
"@nestjs/common": "^11.0.0",
"@nestjs/config": "^4.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/jwt": "^11.0.0",
"@nestjs/passport": "^11.0.0",
"@nestjs/platform-express": "^11.0.0",
"@nestjs/swagger": "^11.0.0",
"@prisma/client": "^6.0.0",
"axios": "^1.7.0",
"bullmq": "^5.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cos-nodejs-sdk-v5": "^3.0.0",
"dayjs": "^1.11.0",
"exceljs": "^4.4.0",
"ioredis": "^5.4.0",
"joi": "^17.13.0",
"jszip": "^3.10.1",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@types/express": "^5.0.0",
"@types/multer": "^2.2.0",
"@types/node": "^22.0.0",
"@types/passport-jwt": "^4.0.1",
"eslint": "^9.0.0",
"prettier": "^3.3.0",
"prisma": "^6.0.0",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.6.0"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
},
"engines": {
"node": ">=22"
}
}