package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "@d8d/unified-file-module",
  3. "version": "1.0.0",
  4. "description": "统一文件管理模块(无租户隔离)",
  5. "type": "module",
  6. "main": "src/index.ts",
  7. "types": "src/index.ts",
  8. "exports": {
  9. ".": { "types": "./src/index.ts", "import": "./src/index.ts" },
  10. "./entities": { "types": "./src/entities/index.ts", "import": "./src/entities/index.ts" },
  11. "./services": { "types": "./src/services/index.ts", "import": "./src/services/index.ts" },
  12. "./schemas": { "types": "./src/schemas/index.ts", "import": "./src/schemas/index.ts" },
  13. "./routes": { "types": "./src/routes/index.ts", "import": "./src/routes/index.ts" }
  14. },
  15. "scripts": {
  16. "build": "tsc",
  17. "test": "vitest run",
  18. "test:unit": "vitest run tests/unit",
  19. "test:integration": "vitest run tests/integration",
  20. "typecheck": "tsc --noEmit"
  21. },
  22. "dependencies": {
  23. "@d8d/shared-crud": "workspace:*",
  24. "@d8d/shared-types": "workspace:*",
  25. "@d8d/shared-utils": "workspace:*",
  26. "@d8d/tenant-module-mt": "workspace:*",
  27. "@hono/zod-openapi": "^1.0.2",
  28. "hono": "^4.8.5",
  29. "minio": "^8.0.5",
  30. "typeorm": "^0.3.20",
  31. "uuid": "^11.1.0",
  32. "zod": "^4.1.12"
  33. },
  34. "devDependencies": {
  35. "@d8d/shared-test-util": "workspace:*",
  36. "typescript": "^5.8.3",
  37. "vitest": "^3.2.4"
  38. }
  39. }