package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@d8d/yongren-shared-ui",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "用人模块共享UI组件包 - 提供yongren模块专用的共享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. "./components/YongrenTabBarLayout": {
  15. "types": "./dist/src/components/YongrenTabBarLayout.d.ts",
  16. "import": "./dist/src/components/YongrenTabBarLayout.js",
  17. "require": "./dist/src/components/YongrenTabBarLayout.js"
  18. }
  19. },
  20. "scripts": {
  21. "build": "tsc",
  22. "dev": "tsc --watch",
  23. "typecheck": "tsc --noEmit",
  24. "test": "jest",
  25. "test:watch": "jest --watch",
  26. "test:coverage": "jest --coverage"
  27. },
  28. "dependencies": {
  29. "@d8d/mini-shared-ui-components": "workspace:*",
  30. "@tarojs/components": "4.1.4",
  31. "@tarojs/plugin-platform-weapp": "4.1.4",
  32. "@tarojs/react": "4.1.4",
  33. "@tarojs/taro": "4.1.4",
  34. "react": "^18.0.0",
  35. "react-dom": "^18.0.0"
  36. },
  37. "devDependencies": {
  38. "@testing-library/jest-dom": "^6.8.0",
  39. "@testing-library/react": "^16.3.0",
  40. "@testing-library/user-event": "^14.6.1",
  41. "@types/jest": "^29.5.14",
  42. "@types/node": "^18",
  43. "@types/react": "^18.0.0",
  44. "@types/react-dom": "^18.0.0",
  45. "jest": "^30.2.0",
  46. "jest-environment-jsdom": "^29.7.0",
  47. "ts-jest": "^29.4.5",
  48. "typescript": "^5.4.5"
  49. },
  50. "files": [
  51. "src"
  52. ],
  53. "keywords": [
  54. "yongren",
  55. "shared",
  56. "ui",
  57. "components",
  58. "mini",
  59. "taro",
  60. "react"
  61. ],
  62. "author": "D8D Team",
  63. "license": "MIT"
  64. }