tianji/src/server/package.json

112 lines
3.2 KiB
JSON
Raw Normal View History

{
"name": "@tianji/server",
"private": true,
"description": "",
"type": "module",
"engines": {
"node": ">=20.11.0"
},
"scripts": {
"dev": "tsx watch --env-file=.env ./main.ts",
"build": "tsc -p tsconfig.server.json",
"postinstall": "pnpm db:generate",
2024-04-07 12:00:02 +00:00
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
"db:generate": "prisma generate",
"db:migrate:dev": "prisma migrate dev",
"db:migrate:apply": "prisma migrate deploy",
2024-01-31 18:52:25 +00:00
"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": {
2024-05-14 12:53:19 +00:00
"@auth/core": "^0.31.0",
"@auth/express": "^0.5.5",
"@auth/prisma-adapter": "^2.1.0",
"@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "5.14.0",
2024-01-24 13:26:42 +00:00
"@tianji/shared": "workspace:^",
2024-05-17 16:45:51 +00:00
"@trpc/server": "^10.45.2",
2024-04-28 06:55:29 +00:00
"accept-language-parser": "^1.5.0",
"axios": "^1.5.0",
"badge-maker": "^3.3.1",
"bcryptjs": "^2.4.3",
"cache-manager": "^5.7.2",
"chardet": "^2.0.0",
"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",
"iconv-lite": "^0.6.3",
"is-localhost-ip": "^2.0.0",
2024-01-28 08:51:44 +00:00
"isolated-vm": "^4.7.2",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"maxmind": "^4.3.18",
2024-05-14 12:53:19 +00:00
"md5": "^2.3.0",
"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",
2024-04-28 06:55:29 +00:00
"@types/accept-language-parser": "^1.5.6",
"@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",
2024-05-14 12:53:19 +00:00
"@types/md5": "^2.3.5",
"@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",
2024-01-31 18:52:25 +00:00
"p-map": "4.0.0",
"prisma": "5.14.0",
"prisma-json-types-generator": "3.0.3",
"prisma-zod-generator": "0.8.13",
"supertest": "^6.3.4",
"tailwindcss": "^3.3.5",
"tsx": "^4.16.2",
"vite": "^5.0.12",
"vitest": "^1.2.1"
}
}