package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "@d8d/system-config-management-ui-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. "./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. "./api": {
  25. "types": "./src/api/index.ts",
  26. "import": "./src/api/index.ts",
  27. "require": "./src/api/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/shared-types": "workspace:*",
  44. "@d8d/shared-ui-components": "workspace:*",
  45. "@d8d/advertisements-module-mt": "workspace:*",
  46. "@d8d/file-management-ui-mt": "workspace:*",
  47. "@d8d/advertisement-type-management-ui-mt": "workspace:*",
  48. "@hookform/resolvers": "^5.2.1",
  49. "@tanstack/react-query": "^5.90.9",
  50. "class-variance-authority": "^0.7.1",
  51. "clsx": "^2.1.1",
  52. "date-fns": "^4.1.0",
  53. "hono": "^4.8.5",
  54. "lucide-react": "^0.536.0",
  55. "react": "^19.1.0",
  56. "react-dom": "^19.1.0",
  57. "react-hook-form": "^7.61.1",
  58. "sonner": "^2.0.7",
  59. "tailwind-merge": "^3.3.1",
  60. "zod": "^4.0.15"
  61. },
  62. "devDependencies": {
  63. "@testing-library/jest-dom": "^6.8.0",
  64. "@testing-library/react": "^16.3.0",
  65. "@testing-library/user-event": "^14.6.1",
  66. "@types/node": "^22.10.2",
  67. "@types/react": "^19.2.2",
  68. "@types/react-dom": "^19.2.3",
  69. "@typescript-eslint/eslint-plugin": "^8.18.1",
  70. "@typescript-eslint/parser": "^8.18.1",
  71. "eslint": "^9.17.0",
  72. "jsdom": "^26.0.0",
  73. "typescript": "^5.8.3",
  74. "unbuild": "^3.4.0",
  75. "vitest": "^4.0.9"
  76. },
  77. "peerDependencies": {
  78. "react": "^19.1.0",
  79. "react-dom": "^19.1.0"
  80. },
  81. "keywords": [
  82. "advertisement",
  83. "management",
  84. "admin",
  85. "ui",
  86. "react",
  87. "crud",
  88. "banner",
  89. "multi-tenant",
  90. "mt"
  91. ],
  92. "author": "D8D Team",
  93. "license": "MIT"
  94. }