package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@d8d/tenant-management-ui",
  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. "./components": {
  15. "types": "./src/components/index.ts",
  16. "import": "./src/components/index.ts",
  17. "require": "./src/components/index.ts"
  18. },
  19. "./hooks": {
  20. "types": "./src/hooks/index.ts",
  21. "import": "./src/hooks/index.ts",
  22. "require": "./src/hooks/index.ts"
  23. },
  24. "./utils": {
  25. "types": "./src/utils/index.ts",
  26. "import": "./src/utils/index.ts",
  27. "require": "./src/utils/index.ts"
  28. }
  29. },
  30. "files": [
  31. "src"
  32. ],
  33. "scripts": {
  34. "build": "unbuild",
  35. "dev": "tsc --watch",
  36. "test": "vitest run",
  37. "test:watch": "vitest",
  38. "test:coverage": "vitest run --coverage",
  39. "lint": "eslint src --ext .ts,.tsx",
  40. "typecheck": "tsc --noEmit"
  41. },
  42. "dependencies": {
  43. "@d8d/tenant-module-mt": "workspace:*",
  44. "@d8d/shared-ui-components": "workspace:*",
  45. "@tanstack/react-query": "^5.83.0",
  46. "react": "^19.1.0",
  47. "react-dom": "^19.1.0",
  48. "react-router-dom": "^7.7.0",
  49. "react-hook-form": "^7.61.1",
  50. "@hookform/resolvers": "^5.2.1",
  51. "hono": "^4.8.5",
  52. "sonner": "^2.0.7",
  53. "date-fns": "^4.1.0",
  54. "lucide-react": "^0.536.0",
  55. "class-variance-authority": "^0.7.1",
  56. "clsx": "^2.1.1",
  57. "tailwind-merge": "^3.3.1",
  58. "zod": "^4.0.15"
  59. },
  60. "devDependencies": {
  61. "@types/node": "^22.10.2",
  62. "@types/react": "^19.1.8",
  63. "@types/react-dom": "^19.1.6",
  64. "typescript": "^5.8.3",
  65. "vitest": "^3.2.4",
  66. "@testing-library/react": "^16.3.0",
  67. "@testing-library/jest-dom": "^6.8.0",
  68. "@testing-library/user-event": "^14.6.1",
  69. "jsdom": "^26.0.0",
  70. "@typescript-eslint/eslint-plugin": "^8.18.1",
  71. "@typescript-eslint/parser": "^8.18.1",
  72. "eslint": "^9.17.0",
  73. "unbuild": "^3.4.0"
  74. },
  75. "peerDependencies": {
  76. "react": "^19.1.0",
  77. "react-dom": "^19.1.0"
  78. },
  79. "keywords": [
  80. "tenant",
  81. "multi-tenant",
  82. "management",
  83. "ui",
  84. "react",
  85. "admin"
  86. ],
  87. "author": "D8D Team",
  88. "license": "MIT"
  89. }