package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@d8d/mini-enterprise-auth-ui",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "企业认证UI包 - 提供企业用户认证相关的React hooks和上下文",
  6. "main": "dist/index.js",
  7. "source": "src/index.ts",
  8. "types": "dist/index.d.ts",
  9. "exports": {
  10. ".": {
  11. "types": "./dist/src/index.d.ts",
  12. "import": "./dist/src/index.js",
  13. "require": "./dist/src/index.js"
  14. },
  15. "./hooks": {
  16. "types": "./dist/src/hooks/index.d.ts",
  17. "import": "./dist/src/hooks/index.js",
  18. "require": "./dist/src/hooks/index.js"
  19. },
  20. "./api": {
  21. "types": "./src/api/index.ts",
  22. "import": "./src/api/index.ts",
  23. "require": "./src/api/index.ts"
  24. },
  25. "./types/minio": {
  26. "types": "./src/types/minio.ts",
  27. "import": "./src/types/minio.ts",
  28. "require": "./src/types/minio.ts"
  29. },
  30. "./pages/login/Login": {
  31. "types": "./dist/src/pages/login/Login.d.ts",
  32. "import": "./dist/src/pages/login/Login.js",
  33. "require": "./dist/src/pages/login/Login.js"
  34. },
  35. "./pages/login/Login.css": {
  36. "import": "./src/pages/login/Login.css"
  37. }
  38. },
  39. "scripts": {
  40. "build": "tsc",
  41. "dev": "tsc --watch",
  42. "typecheck": "tsc --noEmit",
  43. "test": "jest",
  44. "test:watch": "jest --watch",
  45. "test:coverage": "jest --coverage"
  46. },
  47. "dependencies": {
  48. "@d8d/mini-shared-ui-components": "workspace:*",
  49. "@d8d/yongren-shared-ui": "workspace:*",
  50. "@d8d/auth-module": "workspace:*",
  51. "@tarojs/components": "4.1.4",
  52. "@tarojs/react": "4.1.4",
  53. "@tarojs/taro": "4.1.4",
  54. "@tarojs/plugin-platform-weapp": "4.1.4",
  55. "@tanstack/react-query": "^5.90.12",
  56. "@hookform/resolvers": "^3.10.0",
  57. "hono": "^4.7.3",
  58. "react": "^18.0.0",
  59. "react-dom": "^18.0.0",
  60. "react-hook-form": "^7.55.0",
  61. "zod": "^3.24.2"
  62. },
  63. "devDependencies": {
  64. "@testing-library/jest-dom": "^6.8.0",
  65. "@testing-library/react": "^16.3.0",
  66. "@testing-library/user-event": "^14.6.1",
  67. "@types/jest": "^29.5.14",
  68. "@types/node": "^18",
  69. "@types/react": "^18.0.0",
  70. "@types/react-dom": "^18.0.0",
  71. "jest": "^30.2.0",
  72. "jest-environment-jsdom": "^29.7.0",
  73. "ts-jest": "^29.4.5",
  74. "typescript": "^5.4.5"
  75. },
  76. "files": [
  77. "src"
  78. ],
  79. "keywords": [
  80. "auth",
  81. "enterprise",
  82. "hooks",
  83. "mini",
  84. "taro",
  85. "react"
  86. ],
  87. "author": "D8D Team",
  88. "license": "MIT"
  89. }