package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "@d8d/mini-enterprise-auth-ui",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "企业认证UI包 - 提供企业用户认证相关的React hooks和上下文",
  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. "./hooks": {
  15. "types": "./src/hooks/index.ts",
  16. "import": "./src/hooks/index.ts",
  17. "require": "./src/hooks/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. "./types/minio": {
  25. "types": "./src/types/minio.ts",
  26. "import": "./src/types/minio.ts",
  27. "require": "./src/types/minio.ts"
  28. }
  29. },
  30. "scripts": {
  31. "build": "tsc",
  32. "dev": "tsc --watch",
  33. "typecheck": "tsc --noEmit",
  34. "test": "jest",
  35. "test:watch": "jest --watch",
  36. "test:coverage": "jest --coverage"
  37. },
  38. "dependencies": {
  39. "@d8d/mini-shared-ui-components": "workspace:*",
  40. "@d8d/yongren-shared-ui": "workspace:*",
  41. "@d8d/auth-module": "workspace:*",
  42. "@tarojs/components": "4.1.4",
  43. "@tarojs/react": "4.1.4",
  44. "@tarojs/taro": "4.1.4",
  45. "@tanstack/react-query": "^5.90.12",
  46. "@hookform/resolvers": "^3.10.0",
  47. "hono": "^4.7.3",
  48. "react": "^18.0.0",
  49. "react-dom": "^18.0.0",
  50. "react-hook-form": "^7.55.0",
  51. "zod": "^3.24.2"
  52. },
  53. "devDependencies": {
  54. "@testing-library/jest-dom": "^6.8.0",
  55. "@testing-library/react": "^16.3.0",
  56. "@testing-library/user-event": "^14.6.1",
  57. "@types/jest": "^29.5.14",
  58. "@types/node": "^18",
  59. "@types/react": "^18.0.0",
  60. "@types/react-dom": "^18.0.0",
  61. "jest": "^30.2.0",
  62. "jest-environment-jsdom": "^29.7.0",
  63. "ts-jest": "^29.4.5",
  64. "typescript": "^5.4.5"
  65. },
  66. "files": [
  67. "src"
  68. ],
  69. "keywords": [
  70. "auth",
  71. "enterprise",
  72. "hooks",
  73. "mini",
  74. "taro",
  75. "react"
  76. ],
  77. "author": "D8D Team",
  78. "license": "MIT"
  79. }