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-06-21 13:05:04 +00:00
|
|
|
"version": "1.11.4",
|
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",
|
2024-03-07 19:06:38 +00:00
|
|
|
"build:static": "pnpm build:tracker && pnpm build:client && pnpm build:geo",
|
2024-01-31 16:37:13 +00:00
|
|
|
"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",
|
2024-05-04 10:54:17 +00:00
|
|
|
"build:openapi": "ts-node --project ./tsconfig.base.json ./scripts/build-openapi-schema.ts && cd packages/client-sdk && pnpm generate:client",
|
2024-04-07 12:00:02 +00:00
|
|
|
"check:type": "pnpm -r check:type",
|
2023-12-29 16:48:34 +00:00
|
|
|
"release": "release-it",
|
2024-05-04 16:19:48 +00:00
|
|
|
"release:patch": "release-it -i patch",
|
|
|
|
"release:packages": "pnpm -r --filter \"./packages/*\" publish --registry=https://registry.npmjs.com/"
|
2023-08-31 13:17:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-29 16:48:34 +00:00
|
|
|
"@release-it/conventional-changelog": "^8.0.1",
|
2024-02-16 16:07:25 +00:00
|
|
|
"@types/fs-extra": "^11.0.3",
|
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",
|
2024-02-16 16:07:25 +00:00
|
|
|
"fs-extra": "^11.2.0",
|
2024-03-22 16:45:21 +00:00
|
|
|
"prettier-plugin-tailwindcss": "^0.5.12",
|
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
|
|
|
},
|
2024-07-14 06:39:24 +00:00
|
|
|
"packageManager": "pnpm@9.5.0",
|
2024-01-20 16:53:07 +00:00
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"dayjs": "1.11.10"
|
|
|
|
}
|
2023-08-31 13:17:57 +00:00
|
|
|
}
|
|
|
|
}
|