2
0

package.json 1.8 KB

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