package.json 2.2 KB

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