package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. "@d8d/mini-testing-utils": "workspace:*",
  39. "@testing-library/jest-dom": "^6.8.0",
  40. "@testing-library/react": "^16.3.0",
  41. "@testing-library/user-event": "^14.6.1",
  42. "@types/jest": "^29.5.14",
  43. "@types/node": "^18",
  44. "@types/react": "^18.0.0",
  45. "@types/react-dom": "^18.0.0",
  46. "jest": "^30.2.0",
  47. "jest-environment-jsdom": "^29.7.0",
  48. "ts-jest": "^29.4.5",
  49. "typescript": "^5.4.5"
  50. },
  51. "files": [
  52. "src"
  53. ],
  54. "keywords": [
  55. "yongren",
  56. "shared",
  57. "ui",
  58. "components",
  59. "mini",
  60. "taro",
  61. "react"
  62. ],
  63. "author": "D8D Team",
  64. "license": "MIT"
  65. }