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