tianji/package.json
2024-09-11 02:27:21 +08:00

61 lines
2.1 KiB
JSON

{
"name": "tianji",
"private": true,
"version": "1.14.7",
"type": "module",
"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 && pnpm db:migrate:script",
"test": "vitest",
"build": "pnpm build:tracker && pnpm build:app && pnpm build:geo",
"build:static": "pnpm build:tracker && pnpm build:client && pnpm build:geo",
"build:app": "pnpm build:server && pnpm build:client",
"build:client": "cd src/client && pnpm build",
"build:server": "cd src/server && pnpm build",
"build:tracker": "tsx scripts/build-tracker.ts",
"build:geo": "tsx scripts/build-geo.ts",
"build:openapi": "tsx --tsconfig ./tsconfig.base.json ./scripts/build-openapi-schema.ts && cd packages/client-sdk && pnpm generate:client",
"check:type": "pnpm -r check:type",
"release": "release-it",
"release:patch": "release-it -i patch",
"release:packages": "pnpm -r --filter \"./packages/*\" publish --registry=https://registry.npmjs.com/"
},
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@types/fs-extra": "^11.0.3",
"@types/node": "^18.17.12",
"@types/tar": "^6.1.10",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"fs-extra": "^11.2.0",
"prettier-plugin-tailwindcss": "^0.5.12",
"release-it": "^17.0.1",
"tar": "^6.1.15",
"ts-node": "^10.9.1",
"tsx": "^4.16.2",
"typescript": "^5.3.3",
"vite": "^5.0.12"
},
"dependencies": {
"dayjs": "^1.11.9",
"eventemitter-strict": "^1.0.1",
"zod": "^3.22.2"
},
"packageManager": "pnpm@9.7.1",
"pnpm": {
"overrides": {
"@auth/core": "0.34.1",
"dayjs": "1.11.10",
"typescript": "5.5.4"
},
"patchedDependencies": {
"zod-prisma@0.5.4": "patches/zod-prisma@0.5.4.patch"
}
}
}