package.json 4.6 KB

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