98 lines
2.8 KiB
JSON
98 lines
2.8 KiB
JSON
{
|
|
"name": "@tianji/server",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "nodemon",
|
|
"build": "tsc -p tsconfig.server.json",
|
|
"postinstall": "pnpm db:generate",
|
|
"db:generate": "prisma generate",
|
|
"db:migrate:dev": "prisma migrate dev",
|
|
"db:migrate:apply": "prisma migrate deploy",
|
|
"db:migrate:script": "ts-node ./prisma/scripts/populate-ip-location.ts",
|
|
"db:studio": "prisma studio",
|
|
"db:seed:website": "ts-node ./tests/seeds/website.ts",
|
|
"test": "vitest",
|
|
"test:ci": "vitest --run"
|
|
},
|
|
"keywords": [],
|
|
"author": "moonrailgun <moonrailgun@gmail.com>",
|
|
"dependencies": {
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
"@prisma/client": "5.4.2",
|
|
"@tianji/shared": "workspace:^",
|
|
"@trpc/server": "^10.45.0",
|
|
"axios": "^1.5.0",
|
|
"badge-maker": "^3.3.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"compose-middleware": "^5.0.1",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"croner": "^8.0.0",
|
|
"dayjs": "^1.11.9",
|
|
"detect-browser": "^5.3.0",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"express-async-errors": "^3.1.1",
|
|
"express-validator": "^7.0.1",
|
|
"fs-extra": "^11.2.0",
|
|
"is-localhost-ip": "^2.0.0",
|
|
"isolated-vm": "^4.7.2",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lodash": "^4.17.21",
|
|
"maxmind": "^4.3.18",
|
|
"morgan": "^1.10.0",
|
|
"nanoid": "^5.0.4",
|
|
"nodemailer": "^6.9.8",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"ping": "^0.4.4",
|
|
"puppeteer": "^21.7.0",
|
|
"request-ip": "^3.3.0",
|
|
"socket.io": "^4.7.4",
|
|
"swagger-ui-express": "^5.0.0",
|
|
"tcp-ping": "^0.1.1",
|
|
"trpc-openapi": "^1.2.0",
|
|
"ts-node": "^10.9.1",
|
|
"uuid": "^9.0.1",
|
|
"vite-express": "^0.13.0",
|
|
"winston": "^3.11.0",
|
|
"yup": "^1.3.3",
|
|
"zod": "^3.22.2",
|
|
"zod-prisma": "^0.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^8.4.0",
|
|
"@types/bcryptjs": "^2.4.3",
|
|
"@types/compression": "^1.7.2",
|
|
"@types/cors": "^2.8.15",
|
|
"@types/express": "^4.17.17",
|
|
"@types/fs-extra": "^11.0.3",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/lodash": "^4.14.198",
|
|
"@types/morgan": "^1.9.5",
|
|
"@types/node": "^18.17.12",
|
|
"@types/nodemailer": "^6.4.11",
|
|
"@types/passport": "^1.0.12",
|
|
"@types/passport-jwt": "^3.0.9",
|
|
"@types/ping": "^0.4.2",
|
|
"@types/request-ip": "^0.0.38",
|
|
"@types/supertest": "^6.0.2",
|
|
"@types/swagger-ui-express": "^4.1.5",
|
|
"@types/tcp-ping": "^0.1.5",
|
|
"@types/uuid": "^9.0.7",
|
|
"execa": "^5.1.1",
|
|
"nodemon": "^3.0.3",
|
|
"p-map": "4.0.0",
|
|
"prisma": "5.4.2",
|
|
"prisma-json-types-generator": "3.0.3",
|
|
"prisma-zod-generator": "0.8.13",
|
|
"supertest": "^6.3.4",
|
|
"tailwindcss": "^3.3.5",
|
|
"vite": "^5.0.12",
|
|
"vitest": "^1.2.1"
|
|
}
|
|
}
|