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,
|
2024-01-14 18:56:44 +00:00
|
|
|
"version": "1.4.3",
|
2023-08-31 13:17:57 +00:00
|
|
|
"scripts": {
|
2024-01-20 08:22:44 +00:00
|
|
|
"dev": "concurrently --kill-others npm:dev:server npm:dev:web",
|
|
|
|
"dev:web": "cd src/client && pnpm dev",
|
2024-01-28 08:40:15 +00:00
|
|
|
"dev:server": "cd src/server && pnpm dev",
|
2024-01-28 17:00:35 +00:00
|
|
|
"start": "cd src/server && cross-env NODE_ENV=production node ./dist/src/server/main.js",
|
|
|
|
"start:docker": "pnpm start:docker:db && pnpm start",
|
2024-01-31 18:52:25 +00:00
|
|
|
"start:docker:db": "cd src/server && pnpm db:migrate:apply && pnpm db:migrate:script",
|
2024-01-12 16:13:51 +00:00
|
|
|
"test": "vitest",
|
2024-01-31 16:37:13 +00:00
|
|
|
"build": "pnpm build:tracker && pnpm build:app && pnpm build:geo",
|
|
|
|
"build:app": "pnpm build:server && pnpm build:client",
|
2024-01-20 08:22:44 +00:00
|
|
|
"build:client": "cd src/client && pnpm build",
|
2024-01-28 08:40:15 +00:00
|
|
|
"build:server": "cd src/server && pnpm build",
|
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-28 19:00:10 +00:00
|
|
|
"build:openapi": "ts-node scripts/build-openapi-schema.ts",
|
2023-10-14 16:02:23 +00:00
|
|
|
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
|
2023-12-29 16:48:34 +00:00
|
|
|
"release": "release-it",
|
|
|
|
"release:patch": "release-it -i patch"
|
2023-08-31 13:17:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-29 16:48:34 +00:00
|
|
|
"@release-it/conventional-changelog": "^8.0.1",
|
2023-08-31 13:17:57 +00:00
|
|
|
"@types/node": "^18.17.12",
|
2024-01-21 17:05:35 +00:00
|
|
|
"@types/tar": "^6.1.10",
|
2024-01-20 08:22:44 +00:00
|
|
|
"concurrently": "^8.2.2",
|
2023-10-21 07:38:33 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2023-12-29 16:48:34 +00:00
|
|
|
"release-it": "^17.0.1",
|
2023-09-03 11:28:53 +00:00
|
|
|
"tar": "^6.1.15",
|
2024-01-21 15:39:21 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2023-10-14 15:39:58 +00:00
|
|
|
"typescript": "^5.2.2",
|
2024-01-20 08:22:44 +00:00
|
|
|
"vite": "^5.0.12"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"dayjs": "^1.11.9",
|
|
|
|
"eventemitter-strict": "^1.0.1",
|
|
|
|
"zod": "^3.22.2"
|
2024-01-20 16:53:07 +00:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"dayjs": "1.11.10"
|
|
|
|
}
|
2023-08-31 13:17:57 +00:00
|
|
|
}
|
|
|
|
}
|