package.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "name": "d8d-starter",
  3. "private": true,
  4. "type": "module",
  5. "scripts": {
  6. "dev": "PORT=8080 node server",
  7. "build": "npm run build:client && npm run build:server",
  8. "build:client": "vite build --outDir dist/client --manifest",
  9. "build:server": "vite build --ssr src/server/index.tsx --outDir dist/server",
  10. "start": "PORT=8080 cross-env NODE_ENV=production node server",
  11. "test": "vitest",
  12. "test:coverage": "vitest --coverage",
  13. "test:api": "vitest run --project=node",
  14. "test:components": "vitest run --project=happy-dom",
  15. "test:integration": "vitest run --project=happy-dom",
  16. "test:api:coverage": "vitest run --coverage --project=node",
  17. "test:components:coverage": "vitest run --coverage --project=happy-dom",
  18. "test:unit": "vitest run tests/unit",
  19. "test:integration:server": "vitest run tests/integration/server",
  20. "test:integration:client": "vitest run tests/integration/client",
  21. "test:e2e": "playwright test --config=tests/e2e/playwright.config.ts",
  22. "test:e2e:ui": "playwright test --config=tests/e2e/playwright.config.ts --ui",
  23. "test:e2e:debug": "playwright test --config=tests/e2e/playwright.config.ts --debug",
  24. "test:e2e:chromium": "playwright test --config=tests/e2e/playwright.config.ts --project=chromium",
  25. "db:migrate": "tsx scripts/migrate.ts",
  26. "db:seed": "tsx scripts/seed.ts",
  27. "db:reset": "tsx scripts/reset-db.ts",
  28. "db:backup": "tsx src/server/utils/backup.ts backup",
  29. "db:restore": "tsx src/server/utils/restore.ts restore",
  30. "db:backup:list": "tsx src/server/utils/restore.ts list",
  31. "db:backup:latest": "tsx src/server/utils/restore.ts latest",
  32. "db:backup:cleanup": "tsx src/server/utils/backup.ts cleanup",
  33. "test:analyze": "node scripts/analyze-test-results.js",
  34. "lint": "eslint . --ext .ts,.tsx",
  35. "lint:fix": "eslint . --ext .ts,.tsx --fix",
  36. "typecheck": "tsc --noEmit --project ."
  37. },
  38. "dependencies": {
  39. "@ant-design/icons": "^6.0.0",
  40. "@heroicons/react": "^2.2.0",
  41. "@hono/node-server": "^1.17.1",
  42. "@hono/react-renderer": "^1.0.1",
  43. "@hono/swagger-ui": "^0.5.2",
  44. "@hono/zod-openapi": "^1.0.2",
  45. "@hookform/resolvers": "^5.2.1",
  46. "@radix-ui/react-accordion": "^1.2.11",
  47. "@radix-ui/react-alert-dialog": "^1.1.14",
  48. "@radix-ui/react-aspect-ratio": "^1.1.7",
  49. "@radix-ui/react-avatar": "^1.1.10",
  50. "@radix-ui/react-checkbox": "^1.3.2",
  51. "@radix-ui/react-collapsible": "^1.1.11",
  52. "@radix-ui/react-context-menu": "^2.2.15",
  53. "@radix-ui/react-dialog": "^1.1.14",
  54. "@radix-ui/react-dropdown-menu": "^2.1.15",
  55. "@radix-ui/react-hover-card": "^1.1.14",
  56. "@radix-ui/react-label": "^2.1.7",
  57. "@radix-ui/react-menubar": "^1.1.15",
  58. "@radix-ui/react-navigation-menu": "^1.2.13",
  59. "@radix-ui/react-popover": "^1.1.14",
  60. "@radix-ui/react-progress": "^1.1.7",
  61. "@radix-ui/react-radio-group": "^1.3.7",
  62. "@radix-ui/react-scroll-area": "^1.2.9",
  63. "@radix-ui/react-select": "^2.2.5",
  64. "@radix-ui/react-separator": "^1.1.7",
  65. "@radix-ui/react-slider": "^1.3.5",
  66. "@radix-ui/react-slot": "^1.2.3",
  67. "@radix-ui/react-switch": "^1.2.5",
  68. "@radix-ui/react-tabs": "^1.1.12",
  69. "@radix-ui/react-toggle": "^1.1.9",
  70. "@radix-ui/react-toggle-group": "^1.1.10",
  71. "@radix-ui/react-tooltip": "^1.2.7",
  72. "@tanstack/react-query": "^5.83.0",
  73. "@types/node-cron": "^3.0.11",
  74. "axios": "^1.11.0",
  75. "bcrypt": "^6.0.0",
  76. "class-variance-authority": "^0.7.1",
  77. "clsx": "^2.1.1",
  78. "cmdk": "^1.1.1",
  79. "compression": "^1.8.0",
  80. "date-fns": "^4.1.0",
  81. "dayjs": "^1.11.13",
  82. "debug": "^4.4.1",
  83. "dotenv": "^17.2.1",
  84. "embla-carousel-react": "^8.6.0",
  85. "formdata-node": "^6.0.3",
  86. "hono": "^4.8.5",
  87. "input-otp": "^1.4.2",
  88. "ioredis": "^5.6.1",
  89. "jsonwebtoken": "^9.0.2",
  90. "lucide-react": "^0.536.0",
  91. "minio": "^8.0.5",
  92. "next-themes": "^0.4.6",
  93. "node-cron": "^4.2.1",
  94. "pg": "^8.16.3",
  95. "pg-dump-restore": "1.0.13",
  96. "rc-upload": "^4.9.2",
  97. "react": "^19.1.0",
  98. "react-day-picker": "^9.8.1",
  99. "react-dom": "^19.1.0",
  100. "react-hook-form": "^7.61.1",
  101. "react-resizable-panels": "^3.0.4",
  102. "react-router": "^7.7.0",
  103. "react-router-dom": "^7.7.0",
  104. "recharts": "2.15.4",
  105. "react-toastify": "^11.0.5",
  106. "reflect-metadata": "^0.2.2",
  107. "sirv": "^3.0.1",
  108. "uuid": "^11.1.0",
  109. "sonner": "^2.0.7",
  110. "tailwind-merge": "^3.3.1",
  111. "tw-animate-css": "^1.3.6",
  112. "typeorm": "^0.3.25",
  113. "vaul": "^1.1.2",
  114. "zod": "^4.0.15"
  115. },
  116. "devDependencies": {
  117. "@eslint/js": "^9.35.0",
  118. "@playwright/test": "^1.55.0",
  119. "@tailwindcss/vite": "^4.1.11",
  120. "@testing-library/jest-dom": "^6.8.0",
  121. "@testing-library/react": "^16.3.0",
  122. "@testing-library/user-event": "^14.6.1",
  123. "@types/bcrypt": "^6.0.0",
  124. "@types/debug": "^4.1.12",
  125. "@types/jsonwebtoken": "^9.0.10",
  126. "@types/node": "^24.0.10",
  127. "@types/react": "^19.1.8",
  128. "@types/react-dom": "^19.1.6",
  129. "@typescript-eslint/eslint-plugin": "^8.43.0",
  130. "@typescript-eslint/parser": "^8.43.0",
  131. "@vitejs/plugin-react-swc": "^3.10.2",
  132. "@vitest/coverage-v8": "^3.2.4",
  133. "cross-env": "^7.0.3",
  134. "eslint": "^9.35.0",
  135. "eslint-plugin-react": "^7.37.5",
  136. "eslint-plugin-react-hooks": "^5.2.0",
  137. "globals": "^16.4.0",
  138. "happy-dom": "^18.0.1",
  139. "tailwindcss": "^4.1.11",
  140. "tsx": "^4.20.3",
  141. "typescript": "~5.8.3",
  142. "vite": "^7.0.0",
  143. "vite-plugin-iframe-communicator": "^0.0.10",
  144. "vite-progress-tracking-plugin": "^0.0.2",
  145. "vitest": "^3.2.4"
  146. }
  147. }