package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@d8d/auth-module",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "D8D Authentication Module",
  6. "main": "src/index.ts",
  7. "types": "src/index.ts",
  8. "exports": {
  9. ".": {
  10. "import": "./src/index.ts",
  11. "require": "./src/index.ts",
  12. "types": "./src/index.ts"
  13. },
  14. "./services": {
  15. "import": "./src/services/index.ts",
  16. "require": "./src/services/index.ts",
  17. "types": "./src/services/index.ts"
  18. },
  19. "./schemas": {
  20. "import": "./src/schemas/index.ts",
  21. "require": "./src/schemas/index.ts",
  22. "types": "./src/schemas/index.ts"
  23. },
  24. "./routes": {
  25. "import": "./src/routes/index.ts",
  26. "require": "./src/routes/index.ts",
  27. "types": "./src/routes/index.ts"
  28. },
  29. "./middleware": {
  30. "import": "./src/middleware/index.ts",
  31. "require": "./src/middleware/index.ts",
  32. "types": "./src/middleware/index.ts"
  33. }
  34. },
  35. "scripts": {
  36. "build": "tsc",
  37. "dev": "tsc --watch",
  38. "typecheck": "tsc --noEmit",
  39. "test": "vitest",
  40. "test:unit": "vitest run tests/unit",
  41. "test:integration": "vitest run tests/integration",
  42. "test:coverage": "vitest --coverage",
  43. "test:typecheck": "tsc --noEmit"
  44. },
  45. "dependencies": {
  46. "@d8d/shared-types": "workspace:*",
  47. "@d8d/shared-utils": "workspace:*",
  48. "@d8d/user-module": "workspace:*",
  49. "@hono/zod-openapi": "1.0.2",
  50. "axios": "^1.12.2",
  51. "debug": "^4.4.3",
  52. "hono": "^4.8.5",
  53. "jsonwebtoken": "^9.0.2",
  54. "typeorm": "^0.3.20",
  55. "zod": "^4.1.12"
  56. },
  57. "devDependencies": {
  58. "@types/debug": "^4.1.12",
  59. "@types/jsonwebtoken": "^9.0.7",
  60. "typescript": "^5.8.3",
  61. "vitest": "^3.2.4",
  62. "@vitest/coverage-v8": "^3.2.4",
  63. "@d8d/shared-test-util": "workspace:*"
  64. },
  65. "files": [
  66. "src"
  67. ]
  68. }