package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "claude-code-hub",
  3. "version": "0.5.0",
  4. "private": true,
  5. "scripts": {
  6. "dev": "next dev --port 13500",
  7. "build": "next build && cp VERSION .next/standalone/VERSION",
  8. "start": "next start",
  9. "lint": "biome check .",
  10. "lint:fix": "biome check --write .",
  11. "typecheck": "tsgo -p tsconfig.json --noEmit",
  12. "typecheck:tsc": "tsc -p tsconfig.json --noEmit",
  13. "format": "biome format --write .",
  14. "format:check": "biome format .",
  15. "clean:cache": "rm -rf .next tsconfig.tsbuildinfo node_modules/.cache",
  16. "test": "vitest run",
  17. "test:ui": "vitest --ui --watch",
  18. "test:e2e": "vitest run --config vitest.e2e.config.ts --reporter=verbose",
  19. "test:integration": "vitest run --config vitest.integration.config.ts --reporter=verbose",
  20. "test:coverage": "vitest run --coverage",
  21. "test:coverage:logs-sessionid-time-filter": "vitest run --config vitest.logs-sessionid-time-filter.config.ts --coverage",
  22. "test:coverage:codex-session-id-completer": "vitest run --config vitest.codex-session-id-completer.config.ts --coverage",
  23. "test:coverage:thinking-signature-rectifier": "vitest run --config vitest.thinking-signature-rectifier.config.ts --coverage",
  24. "test:coverage:quota": "vitest run --config vitest.quota.config.ts --coverage",
  25. "test:coverage:my-usage": "vitest run --config vitest.my-usage.config.ts --coverage",
  26. "test:coverage:proxy-guard-pipeline": "vitest run --config vitest.proxy-guard-pipeline.config.ts --coverage",
  27. "test:coverage:include-session-id-in-errors": "vitest run --config vitest.include-session-id-in-errors.config.ts --coverage",
  28. "test:ci": "vitest run --reporter=default --reporter=junit --outputFile.junit=reports/vitest-junit.xml",
  29. "cui": "npx cui-server --host 0.0.0.0 --port 30000 --token a7564bc8882aa9a2d25d8b4ea6ea1e2e",
  30. "db:generate": "drizzle-kit generate && node scripts/validate-migrations.js",
  31. "db:migrate": "drizzle-kit migrate",
  32. "db:push": "drizzle-kit push",
  33. "db:studio": "drizzle-kit studio",
  34. "validate:migrations": "node scripts/validate-migrations.js",
  35. "i18n:audit-placeholders": "node scripts/audit-settings-placeholders.js --scope=settings,dashboard,myUsage --format=tsv",
  36. "i18n:audit-placeholders:fail": "node scripts/audit-settings-placeholders.js --scope=settings,dashboard,myUsage --format=tsv --fail",
  37. "i18n:audit-messages-no-emoji": "node scripts/audit-messages-no-emoji.js --format=tsv",
  38. "i18n:audit-messages-no-emoji:fail": "node scripts/audit-messages-no-emoji.js --format=tsv --fail"
  39. },
  40. "dependencies": {
  41. "@bull-board/api": "^6",
  42. "@bull-board/express": "^6",
  43. "@hono/swagger-ui": "^0.5",
  44. "@hono/zod-openapi": "^1",
  45. "@hookform/resolvers": "^5",
  46. "@iarna/toml": "^2.2.5",
  47. "@lobehub/icons": "^2",
  48. "@radix-ui/react-alert-dialog": "^1",
  49. "@radix-ui/react-avatar": "^1",
  50. "@radix-ui/react-checkbox": "^1",
  51. "@radix-ui/react-collapsible": "^1",
  52. "@radix-ui/react-dialog": "^1",
  53. "@radix-ui/react-dropdown-menu": "^2",
  54. "@radix-ui/react-label": "^2",
  55. "@radix-ui/react-popover": "^1",
  56. "@radix-ui/react-progress": "^1",
  57. "@radix-ui/react-scroll-area": "^1",
  58. "@radix-ui/react-select": "^2",
  59. "@radix-ui/react-slider": "^1",
  60. "@radix-ui/react-slot": "^1",
  61. "@radix-ui/react-switch": "^1",
  62. "@radix-ui/react-tabs": "^1",
  63. "@radix-ui/react-tooltip": "^1",
  64. "@scalar/hono-api-reference": "^0.9",
  65. "@tanstack/react-query": "^5",
  66. "@tanstack/react-virtual": "^3",
  67. "@tanstack/virtual-core": "^3",
  68. "agentation": "^1.3.2",
  69. "antd": "^6",
  70. "bull": "^4",
  71. "class-variance-authority": "^0.7",
  72. "clsx": "^2",
  73. "cmdk": "^1",
  74. "date-fns": "^4",
  75. "date-fns-tz": "^3",
  76. "decimal.js-light": "^2",
  77. "dotenv": "^17",
  78. "drizzle-orm": "^0.44",
  79. "fetch-socks": "^1.3.2",
  80. "framer-motion": "^12.28.1",
  81. "hono": "^4",
  82. "html2canvas": "^1",
  83. "ioredis": "^5",
  84. "jspdf": "^3",
  85. "lucide-react": "^0.555",
  86. "next": "^16",
  87. "next-intl": "^4",
  88. "next-themes": "^0.4",
  89. "pino": "^10",
  90. "pino-pretty": "^13",
  91. "postgres": "^3",
  92. "react": "^19",
  93. "react-day-picker": "^9",
  94. "react-dom": "^19",
  95. "react-hook-form": "^7",
  96. "react-syntax-highlighter": "^16.1.0",
  97. "recharts": "^3",
  98. "safe-regex": "^2",
  99. "server-only": "^0.0.1",
  100. "sonner": "^2",
  101. "tailwind-merge": "^3",
  102. "timeago.js": "^4",
  103. "tw-animate-css": "^1",
  104. "undici": "^7",
  105. "zod": "^4"
  106. },
  107. "devDependencies": {
  108. "@biomejs/biome": "^2",
  109. "@tailwindcss/postcss": "^4",
  110. "@types/ioredis": "^5",
  111. "@types/node": "^24",
  112. "@types/pg": "^8",
  113. "@types/react": "^19",
  114. "@types/react-dom": "^19",
  115. "@types/react-syntax-highlighter": "^15.5.13",
  116. "@typescript/native-preview": "7.0.0-dev.20251219.1",
  117. "@vitest/coverage-v8": "^4.0.16",
  118. "@vitest/ui": "^4.0.16",
  119. "bun-types": "^1",
  120. "drizzle-kit": "^0.31",
  121. "happy-dom": "^20.0.11",
  122. "tailwindcss": "^4",
  123. "typescript": "^5",
  124. "vitest": "^4.0.16"
  125. }
  126. }