package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "@d8d/rencai-auth-ui",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "人才小程序认证UI包 - 提供登录认证页面组件和认证上下文",
  6. "main": "src/index.ts",
  7. "types": "src/index.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/src/index.d.ts",
  11. "import": "./dist/src/index.js",
  12. "require": "./dist/src/index.js"
  13. },
  14. "./api": {
  15. "types": "./src/api/index.ts",
  16. "import": "./src/api/index.ts",
  17. "require": "./src/api/index.ts"
  18. },
  19. "./pages/LoginPage/LoginPage": {
  20. "types": "./dist/src/pages/LoginPage/LoginPage.d.ts",
  21. "import": "./dist/src/pages/LoginPage/LoginPage.js",
  22. "require": "./dist/src/pages/LoginPage/LoginPage.js"
  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/rencai-shared-ui": "workspace:*",
  36. "@d8d/core-module": "workspace:*",
  37. "@tarojs/components": "4.1.4",
  38. "@tarojs/plugin-platform-weapp": "4.1.4",
  39. "@tarojs/react": "4.1.4",
  40. "@tarojs/taro": "4.1.4",
  41. "@tanstack/react-query": "^5.90.12",
  42. "react": "^18.0.0",
  43. "react-dom": "^18.0.0"
  44. },
  45. "devDependencies": {
  46. "@testing-library/jest-dom": "^6.8.0",
  47. "@testing-library/react": "^16.3.0",
  48. "@testing-library/user-event": "^14.6.1",
  49. "@types/jest": "^29.5.14",
  50. "@types/node": "^18",
  51. "@types/react": "^18.0.0",
  52. "@types/react-dom": "^18.0.0",
  53. "jest": "^30.2.0",
  54. "jest-environment-jsdom": "^29.7.0",
  55. "ts-jest": "^29.4.5",
  56. "typescript": "^5.4.5",
  57. "@d8d/mini-testing-utils": "workspace:*"
  58. },
  59. "files": [
  60. "src"
  61. ],
  62. "keywords": [
  63. "rencai",
  64. "talent",
  65. "auth",
  66. "login",
  67. "mini",
  68. "taro",
  69. "react"
  70. ],
  71. "author": "D8D Team",
  72. "license": "MIT"
  73. }