package.json
此代码来自构建时的仓库快照。修改源码后重新构建即可更新。
{
"name": "teamdesk",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --hostname 127.0.0.1",
"build": "prisma generate && next build --webpack",
"start": "next start",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix --max-warnings=0",
"typecheck": "next typegen && tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "husky",
"lint:staged": "lint-staged",
"commitlint": "commitlint",
"db:generate": "prisma generate",
"db:migrate": "prisma migrate deploy",
"db:studio": "prisma studio",
"db:up": "docker compose up -d --wait",
"test": "vitest run",
"test:integration": "vitest run tests/tickets.integration.test.ts tests/collaboration.integration.test.ts tests/ticket-events.integration.test.ts tests/tasks.integration.test.ts tests/queue.integration.test.ts tests/worker.integration.test.ts tests/worker-process.integration.test.ts",
"postinstall": "prisma generate",
"worker": "node --import tsx src/worker/index.ts",
"worker:dev": "tsx watch src/worker/index.ts",
"worker:health": "node --import tsx scripts/worker-health.ts",
"tutorials:dev": "node tutorials/site/serve.mjs",
"tutorials:build": "node tutorials/site/build.mjs",
"tutorials:preview": "node tutorials/site/serve.mjs --preview",
"tutorials:test": "node --test tutorials/site/build-check.mjs"
},
"dependencies": {
"@ant-design/cssinjs": "^2.1.2",
"@ant-design/icons": "^6.3.4",
"@ant-design/nextjs-registry": "^1.3.0",
"@prisma/adapter-pg": "^7.10.1",
"@prisma/client": "^7.10.1",
"@tanstack/react-query": "^5.104.3",
"@trpc/client": "^11.19.0",
"@trpc/server": "^11.19.0",
"@trpc/tanstack-react-query": "^11.19.0",
"antd": "^6.6.6",
"better-auth": "^1.7.10",
"bullmq": "^6.3.16",
"dayjs": "^1.11.23",
"dotenv": "^18.0.8",
"ioredis": "^6.0.0",
"next": "16.4.2",
"nuqs": "^2.10.2",
"pg": "^8.23.1",
"pino": "^10.4.0",
"react": "19.3.0",
"react-dom": "19.3.0",
"server-only": "^0.0.1",
"tsx": "^4.23.15",
"zod": "^4.6.7",
"zustand": "^5.0.15"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^20",
"@types/pg": "^8.23.1",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.4.2",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"lint-staged": "^17.6.0",
"marked": "^18.1.1",
"prettier": "^3.9.10",
"prettier-plugin-tailwindcss": "^0.8.1",
"prisma": "7.10.1",
"tailwindcss": "^4",
"typescript": "^5",
"vitest": "^4.1.12"
},
"packageManager": "pnpm@12.10.1",
"lint-staged": {
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}": [
"eslint --fix --max-warnings=0",
"prettier --write"
],
"*.{json,jsonc,css,scss,md,mdx,yml,yaml,html}": "prettier --write"
}
}