47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "tianji",
|
|
"private": true,
|
|
"version": "1.4.3",
|
|
"scripts": {
|
|
"dev": "concurrently --kill-others npm:dev:server npm:dev:web",
|
|
"dev:web": "cd src/client && pnpm dev",
|
|
"dev:server": "cd src/server && pnpm dev",
|
|
"start": "cd src/server && cross-env NODE_ENV=production node ./dist/src/server/main.js",
|
|
"start:docker": "pnpm start:docker:db && pnpm start",
|
|
"start:docker:db": "cd src/server && pnpm db:migrate:apply",
|
|
"postinstall": "cd src/server && pnpm db:generate",
|
|
"test": "vitest",
|
|
"build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo",
|
|
"build:client": "cd src/client && pnpm build",
|
|
"build:server": "cd src/server && pnpm build",
|
|
"build:tracker": "ts-node scripts/build-tracker.ts",
|
|
"build:geo": "ts-node scripts/build-geo.ts",
|
|
"build:openapi": "ts-node scripts/build-openapi-schema.ts",
|
|
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
|
|
"release": "release-it",
|
|
"release:patch": "release-it -i patch"
|
|
},
|
|
"devDependencies": {
|
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
"@types/node": "^18.17.12",
|
|
"@types/tar": "^6.1.10",
|
|
"concurrently": "^8.2.2",
|
|
"cross-env": "^7.0.3",
|
|
"release-it": "^17.0.1",
|
|
"tar": "^6.1.15",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2",
|
|
"vite": "^5.0.12"
|
|
},
|
|
"dependencies": {
|
|
"dayjs": "^1.11.9",
|
|
"eventemitter-strict": "^1.0.1",
|
|
"zod": "^3.22.2"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"dayjs": "1.11.10"
|
|
}
|
|
}
|
|
}
|