package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@d8d/advertisements-module-mt",
  3. "version": "1.0.0",
  4. "description": "多租户广告管理模块 - 提供广告类型和广告内容的完整CRUD功能,支持租户数据隔离",
  5. "type": "module",
  6. "main": "src/index.ts",
  7. "types": "src/index.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./src/index.ts",
  11. "import": "./src/index.ts",
  12. "require": "./src/index.ts"
  13. },
  14. "./services": {
  15. "types": "./src/services/index.ts",
  16. "import": "./src/services/index.ts",
  17. "require": "./src/services/index.ts"
  18. },
  19. "./schemas": {
  20. "types": "./src/schemas/index.ts",
  21. "import": "./src/schemas/index.ts",
  22. "require": "./src/schemas/index.ts"
  23. },
  24. "./routes": {
  25. "types": "./src/routes/index.ts",
  26. "import": "./src/routes/index.ts",
  27. "require": "./src/routes/index.ts"
  28. },
  29. "./entities": {
  30. "types": "./src/entities/index.ts",
  31. "import": "./src/entities/index.ts",
  32. "require": "./src/entities/index.ts"
  33. }
  34. },
  35. "files": [
  36. "src"
  37. ],
  38. "scripts": {
  39. "build": "tsc",
  40. "dev": "tsc --watch",
  41. "test": "vitest run",
  42. "test:watch": "vitest",
  43. "test:integration": "vitest run tests/integration",
  44. "test:coverage": "vitest run --coverage",
  45. "lint": "eslint src --ext .ts,.tsx",
  46. "typecheck": "tsc --noEmit"
  47. },
  48. "dependencies": {
  49. "@d8d/shared-types": "workspace:*",
  50. "@d8d/shared-utils": "workspace:*",
  51. "@d8d/shared-crud": "workspace:*",
  52. "@d8d/file-module-mt": "workspace:*",
  53. "@d8d/auth-module-mt": "workspace:*",
  54. "@d8d/user-module-mt": "workspace:*",
  55. "@hono/zod-openapi": "^1.0.2",
  56. "typeorm": "^0.3.20",
  57. "zod": "^4.1.12"
  58. },
  59. "devDependencies": {
  60. "@types/node": "^22.10.2",
  61. "typescript": "^5.8.3",
  62. "vitest": "^3.2.4",
  63. "@d8d/shared-test-util": "workspace:*",
  64. "@typescript-eslint/eslint-plugin": "^8.18.1",
  65. "@typescript-eslint/parser": "^8.18.1",
  66. "eslint": "^9.17.0"
  67. },
  68. "peerDependencies": {
  69. "hono": "^4.8.5"
  70. },
  71. "keywords": [
  72. "advertisements",
  73. "ads",
  74. "banners",
  75. "crud",
  76. "api",
  77. "multi-tenant",
  78. "tenant-isolation"
  79. ],
  80. "author": "D8D Team",
  81. "license": "MIT"
  82. }