2023-08-31 13:17:57 +00:00
|
|
|
{
|
2023-10-08 10:43:31 +00:00
|
|
|
"name": "tianji",
|
2023-08-31 13:17:57 +00:00
|
|
|
"private": true,
|
|
|
|
"version": "0.0.0",
|
|
|
|
"scripts": {
|
2023-09-04 17:18:43 +00:00
|
|
|
"dev": "nodemon",
|
2023-10-21 07:38:33 +00:00
|
|
|
"start": "cross-env NODE_ENV=production node ./dist/server/main.js",
|
2023-10-21 07:26:51 +00:00
|
|
|
"start:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start",
|
2023-10-14 16:02:23 +00:00
|
|
|
"build": "pnpm build:client && pnpm build:server && pnpm build:tracker && pnpm build:geo",
|
|
|
|
"build:client": "vite build",
|
|
|
|
"build:server": "tsc -p tsconfig.server.json",
|
2023-09-02 19:49:44 +00:00
|
|
|
"build:tracker": "ts-node scripts/build-tracker.ts",
|
2023-09-03 11:28:53 +00:00
|
|
|
"build:geo": "ts-node scripts/build-geo.ts",
|
2023-10-21 16:26:13 +00:00
|
|
|
"postinstall": "pnpm db:generate",
|
2023-10-14 16:02:23 +00:00
|
|
|
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
|
2023-09-02 12:13:50 +00:00
|
|
|
"db:push": "prisma db push",
|
|
|
|
"db:generate": "prisma generate",
|
2023-10-21 07:26:51 +00:00
|
|
|
"db:migrate:dev": "prisma migrate dev",
|
|
|
|
"db:migrate:apply": "prisma migrate deploy",
|
2023-09-02 12:13:50 +00:00
|
|
|
"db:studio": "prisma studio"
|
2023-08-31 13:17:57 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-01 16:52:43 +00:00
|
|
|
"@ant-design/charts": "^1.4.2",
|
2023-08-31 16:11:47 +00:00
|
|
|
"@ant-design/icons": "^5.2.5",
|
2023-10-05 16:06:44 +00:00
|
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
2023-10-19 16:26:53 +00:00
|
|
|
"@prisma/client": "^5.4.2",
|
2023-09-04 17:18:43 +00:00
|
|
|
"@tanstack/react-query": "^4.33.0",
|
2023-09-27 09:56:32 +00:00
|
|
|
"@trpc/client": "^10.38.4",
|
|
|
|
"@trpc/react-query": "^10.38.4",
|
|
|
|
"@trpc/server": "^10.38.4",
|
2023-09-03 11:28:53 +00:00
|
|
|
"@types/uuid": "^9.0.3",
|
2023-09-27 12:27:46 +00:00
|
|
|
"antd": "^5.9.3",
|
2023-10-16 16:23:49 +00:00
|
|
|
"array-move": "^3.0.1",
|
2023-09-02 17:01:55 +00:00
|
|
|
"axios": "^1.5.0",
|
2023-10-12 14:53:12 +00:00
|
|
|
"badge-maker": "^3.3.1",
|
2023-09-02 12:13:50 +00:00
|
|
|
"bcryptjs": "^2.4.3",
|
2023-08-31 16:11:47 +00:00
|
|
|
"clsx": "^2.0.0",
|
2023-09-23 12:44:26 +00:00
|
|
|
"colord": "^2.9.3",
|
2023-09-02 14:53:57 +00:00
|
|
|
"compose-middleware": "^5.0.1",
|
|
|
|
"compression": "^1.7.4",
|
2023-09-29 18:05:37 +00:00
|
|
|
"croner": "^7.0.1",
|
2023-09-03 11:28:53 +00:00
|
|
|
"dayjs": "^1.11.9",
|
|
|
|
"detect-browser": "^5.3.0",
|
2023-09-02 12:13:50 +00:00
|
|
|
"dotenv": "^16.3.1",
|
2023-10-03 11:47:17 +00:00
|
|
|
"eventemitter-strict": "^1.0.1",
|
2023-08-31 13:17:57 +00:00
|
|
|
"express": "^4.18.2",
|
2023-09-02 17:01:55 +00:00
|
|
|
"express-async-errors": "^3.1.1",
|
2023-09-02 14:53:57 +00:00
|
|
|
"express-validator": "^7.0.1",
|
2023-10-03 12:45:00 +00:00
|
|
|
"filesize": "^10.0.12",
|
2023-09-03 11:28:53 +00:00
|
|
|
"is-localhost-ip": "^2.0.0",
|
2023-09-02 17:01:55 +00:00
|
|
|
"jsonwebtoken": "^9.0.2",
|
2023-09-14 12:19:31 +00:00
|
|
|
"lodash": "^4.17.21",
|
2023-09-01 16:52:43 +00:00
|
|
|
"lodash-es": "^4.17.21",
|
2023-09-03 11:28:53 +00:00
|
|
|
"maxmind": "^4.3.11",
|
2023-10-07 09:28:30 +00:00
|
|
|
"millify": "^6.1.0",
|
2023-09-05 06:08:38 +00:00
|
|
|
"morgan": "^1.10.0",
|
2023-09-02 17:01:55 +00:00
|
|
|
"nanoid": "^3.3.6",
|
2023-09-27 17:04:17 +00:00
|
|
|
"nodemailer": "^6.9.5",
|
2023-09-02 17:01:55 +00:00
|
|
|
"passport": "^0.6.0",
|
|
|
|
"passport-jwt": "^4.0.1",
|
2023-10-04 17:56:33 +00:00
|
|
|
"ping": "^0.4.4",
|
2023-10-03 12:45:00 +00:00
|
|
|
"pretty-ms": "7.0.1",
|
2023-10-08 16:06:03 +00:00
|
|
|
"puppeteer": "^21.3.8",
|
2023-08-31 13:17:57 +00:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2023-10-16 16:23:49 +00:00
|
|
|
"react-easy-sort": "^1.5.3",
|
2023-08-31 16:11:47 +00:00
|
|
|
"react-router": "^6.15.0",
|
|
|
|
"react-router-dom": "^6.15.0",
|
2023-09-03 11:28:53 +00:00
|
|
|
"request-ip": "^3.3.0",
|
2023-09-02 14:53:57 +00:00
|
|
|
"socket.io": "^4.7.2",
|
|
|
|
"socket.io-client": "^4.7.2",
|
2023-10-14 16:51:03 +00:00
|
|
|
"str2int": "^1.1.0",
|
2023-10-21 16:26:13 +00:00
|
|
|
"swagger-ui-express": "^5.0.0",
|
|
|
|
"trpc-openapi": "^1.2.0",
|
2023-08-31 13:17:57 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2023-09-03 11:28:53 +00:00
|
|
|
"uuid": "^9.0.0",
|
|
|
|
"vite-express": "^0.10.0",
|
2023-09-03 13:05:22 +00:00
|
|
|
"yup": "^1.2.0",
|
2023-09-27 09:56:32 +00:00
|
|
|
"zod": "^3.22.2",
|
2023-09-03 13:05:22 +00:00
|
|
|
"zustand": "^4.4.1"
|
2023-08-31 13:17:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-09-02 12:13:50 +00:00
|
|
|
"@types/bcryptjs": "^2.4.3",
|
2023-09-02 14:53:57 +00:00
|
|
|
"@types/compression": "^1.7.2",
|
2023-08-31 13:17:57 +00:00
|
|
|
"@types/express": "^4.17.17",
|
2023-09-02 17:01:55 +00:00
|
|
|
"@types/jsonwebtoken": "^9.0.2",
|
2023-09-14 12:19:31 +00:00
|
|
|
"@types/lodash": "^4.14.198",
|
2023-09-01 16:52:43 +00:00
|
|
|
"@types/lodash-es": "^4.17.9",
|
2023-09-05 06:08:38 +00:00
|
|
|
"@types/morgan": "^1.9.5",
|
2023-08-31 13:17:57 +00:00
|
|
|
"@types/node": "^18.17.12",
|
2023-09-27 17:04:17 +00:00
|
|
|
"@types/nodemailer": "^6.4.11",
|
2023-09-02 17:01:55 +00:00
|
|
|
"@types/passport": "^1.0.12",
|
|
|
|
"@types/passport-jwt": "^3.0.9",
|
2023-10-04 17:56:33 +00:00
|
|
|
"@types/ping": "^0.4.2",
|
2023-08-31 13:17:57 +00:00
|
|
|
"@types/react": "^18.2.21",
|
|
|
|
"@types/react-dom": "^18.2.7",
|
2023-09-03 11:28:53 +00:00
|
|
|
"@types/request-ip": "^0.0.38",
|
2023-10-21 16:26:13 +00:00
|
|
|
"@types/swagger-ui-express": "^4.1.5",
|
2023-09-03 11:28:53 +00:00
|
|
|
"@types/tar": "^6.1.5",
|
2023-08-31 13:17:57 +00:00
|
|
|
"@vitejs/plugin-react": "^4.0.4",
|
2023-08-31 16:11:47 +00:00
|
|
|
"autoprefixer": "^10.4.15",
|
2023-10-21 07:38:33 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2023-08-31 13:17:57 +00:00
|
|
|
"nodemon": "^2.0.22",
|
2023-08-31 16:11:47 +00:00
|
|
|
"postcss": "^8.4.29",
|
2023-10-19 16:26:53 +00:00
|
|
|
"prisma": "^5.4.2",
|
2023-08-31 16:11:47 +00:00
|
|
|
"tailwindcss": "^3.3.3",
|
2023-09-03 11:28:53 +00:00
|
|
|
"tar": "^6.1.15",
|
2023-10-14 15:39:58 +00:00
|
|
|
"typescript": "^5.2.2",
|
2023-08-31 13:17:57 +00:00
|
|
|
"vite": "^4.4.9"
|
|
|
|
}
|
|
|
|
}
|