2024-01-20 08:22:44 +00:00
|
|
|
{
|
|
|
|
"name": "@tianji/server",
|
2024-07-15 16:54:40 +00:00
|
|
|
"private": true,
|
2024-01-20 08:22:44 +00:00
|
|
|
"description": "",
|
2024-07-28 11:39:15 +00:00
|
|
|
"type": "module",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=20.11.0"
|
|
|
|
},
|
2024-01-20 08:22:44 +00:00
|
|
|
"scripts": {
|
2024-07-28 11:39:15 +00:00
|
|
|
"dev": "tsx watch --env-file=.env ./main.ts",
|
2024-07-28 12:32:41 +00:00
|
|
|
"build": "tsc",
|
2024-01-20 08:22:44 +00:00
|
|
|
"postinstall": "pnpm db:generate",
|
2024-08-01 18:13:09 +00:00
|
|
|
"check:type": "tsc --noEmit --skipLibCheck",
|
2024-01-20 08:22:44 +00:00
|
|
|
"db:generate": "prisma generate",
|
|
|
|
"db:migrate:dev": "prisma migrate dev",
|
|
|
|
"db:migrate:apply": "prisma migrate deploy",
|
2024-08-04 17:07:41 +00:00
|
|
|
"db:migrate:script": "tsx ./prisma/scripts/populate-ip-location.ts",
|
2024-01-20 08:22:44 +00:00
|
|
|
"db:studio": "prisma studio",
|
2024-08-04 17:07:41 +00:00
|
|
|
"db:seed:website": "tsx ./tests/seeds/website.ts",
|
2024-01-29 10:54:44 +00:00
|
|
|
"test": "vitest",
|
|
|
|
"test:ci": "vitest --run"
|
2024-01-20 08:22:44 +00:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "moonrailgun <moonrailgun@gmail.com>",
|
|
|
|
"dependencies": {
|
2024-07-28 12:32:41 +00:00
|
|
|
"@auth/core": "^0.34.1",
|
2024-05-14 12:53:19 +00:00
|
|
|
"@auth/express": "^0.5.5",
|
2024-01-20 08:22:44 +00:00
|
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
2024-05-25 16:49:49 +00:00
|
|
|
"@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",
|
2024-01-20 08:22:44 +00:00
|
|
|
"axios": "^1.5.0",
|
|
|
|
"badge-maker": "^3.3.1",
|
|
|
|
"bcryptjs": "^2.4.3",
|
2024-07-15 16:54:40 +00:00
|
|
|
"cache-manager": "^5.7.2",
|
2024-04-23 16:32:04 +00:00
|
|
|
"chardet": "^2.0.0",
|
2024-01-20 08:22:44 +00:00
|
|
|
"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",
|
2024-04-23 16:32:04 +00:00
|
|
|
"iconv-lite": "^0.6.3",
|
2024-01-20 08:22:44 +00:00
|
|
|
"is-localhost-ip": "^2.0.0",
|
2024-01-28 08:51:44 +00:00
|
|
|
"isolated-vm": "^4.7.2",
|
2024-01-20 08:22:44 +00:00
|
|
|
"jsonwebtoken": "^9.0.2",
|
2024-08-14 17:33:23 +00:00
|
|
|
"lodash-es": "^4.17.21",
|
2024-01-20 08:22:44 +00:00
|
|
|
"maxmind": "^4.3.18",
|
2024-05-14 12:53:19 +00:00
|
|
|
"md5": "^2.3.0",
|
2024-01-20 08:22:44 +00:00
|
|
|
"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",
|
|
|
|
"uuid": "^9.0.1",
|
|
|
|
"vite-express": "^0.13.0",
|
|
|
|
"winston": "^3.11.0",
|
|
|
|
"yup": "^1.3.3",
|
|
|
|
"zod": "^3.22.2",
|
2024-07-28 12:32:41 +00:00
|
|
|
"zod-prisma": "0.5.4"
|
2024-01-20 08:22:44 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-29 11:58:51 +00:00
|
|
|
"@faker-js/faker": "^8.4.0",
|
2024-04-28 06:55:29 +00:00
|
|
|
"@types/accept-language-parser": "^1.5.6",
|
2024-01-20 08:22:44 +00:00
|
|
|
"@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",
|
2024-08-14 17:33:23 +00:00
|
|
|
"@types/lodash-es": "^4.17.12",
|
2024-05-14 12:53:19 +00:00
|
|
|
"@types/md5": "^2.3.5",
|
2024-01-20 08:22:44 +00:00
|
|
|
"@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",
|
2024-03-24 08:32:40 +00:00
|
|
|
"@types/supertest": "^6.0.2",
|
2024-01-20 08:22:44 +00:00
|
|
|
"@types/swagger-ui-express": "^4.1.5",
|
|
|
|
"@types/tcp-ping": "^0.1.5",
|
|
|
|
"@types/uuid": "^9.0.7",
|
|
|
|
"execa": "^5.1.1",
|
2024-01-31 18:52:25 +00:00
|
|
|
"p-map": "4.0.0",
|
2024-05-25 16:49:49 +00:00
|
|
|
"prisma": "5.14.0",
|
2024-01-20 08:22:44 +00:00
|
|
|
"prisma-json-types-generator": "3.0.3",
|
|
|
|
"prisma-zod-generator": "0.8.13",
|
2024-03-24 08:32:40 +00:00
|
|
|
"supertest": "^6.3.4",
|
2024-01-20 08:22:44 +00:00
|
|
|
"tailwindcss": "^3.3.5",
|
2024-07-28 11:39:15 +00:00
|
|
|
"tsx": "^4.16.2",
|
2024-07-28 12:32:41 +00:00
|
|
|
"typescript": "^5.5.4",
|
2024-01-20 08:22:44 +00:00
|
|
|
"vite": "^5.0.12",
|
|
|
|
"vitest": "^1.2.1"
|
|
|
|
}
|
|
|
|
}
|