package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. },
  25. "scripts": {
  26. "build": "tsc",
  27. "dev": "tsc --watch",
  28. "typecheck": "tsc --noEmit",
  29. "test": "jest",
  30. "test:watch": "jest --watch",
  31. "test:coverage": "jest --coverage"
  32. },
  33. "dependencies": {
  34. "@d8d/mini-shared-ui-components": "workspace:*",
  35. "@d8d/server": "workspace:*",
  36. "@tarojs/components": "4.1.4",
  37. "@tarojs/react": "4.1.4",
  38. "@tarojs/taro": "4.1.4",
  39. "@tanstack/react-query": "^5.90.12",
  40. "react": "^18.0.0",
  41. "react-dom": "^18.0.0"
  42. },
  43. "devDependencies": {
  44. "@testing-library/jest-dom": "^6.8.0",
  45. "@testing-library/react": "^16.3.0",
  46. "@testing-library/user-event": "^14.6.1",
  47. "@types/jest": "^29.5.14",
  48. "@types/node": "^18",
  49. "@types/react": "^18.0.0",
  50. "@types/react-dom": "^18.0.0",
  51. "jest": "^30.2.0",
  52. "jest-environment-jsdom": "^29.7.0",
  53. "ts-jest": "^29.4.5",
  54. "typescript": "^5.4.5"
  55. },
  56. "files": [
  57. "src"
  58. ],
  59. "keywords": [
  60. "auth",
  61. "enterprise",
  62. "hooks",
  63. "mini",
  64. "taro",
  65. "react"
  66. ],
  67. "author": "D8D Team",
  68. "license": "MIT"
  69. }