package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@d8d/rencai-shared-ui",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "人才小程序共享UI组件包 - 提供布局组件和通用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/RencaiTabBarLayout": {
  15. "types": "./dist/src/components/RencaiTabBarLayout.d.ts",
  16. "import": "./dist/src/components/RencaiTabBarLayout.js",
  17. "require": "./dist/src/components/RencaiTabBarLayout.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. "@tanstack/react-query": "^5.90.12",
  33. "@tarojs/components": "4.1.4",
  34. "@tarojs/plugin-platform-weapp": "4.1.4",
  35. "@tarojs/react": "4.1.4",
  36. "@tarojs/taro": "4.1.4",
  37. "react": "^18.0.0",
  38. "react-dom": "^18.0.0"
  39. },
  40. "devDependencies": {
  41. "@d8d/mini-testing-utils": "workspace:*",
  42. "@testing-library/jest-dom": "^6.8.0",
  43. "@testing-library/react": "^16.3.0",
  44. "@testing-library/user-event": "^14.6.1",
  45. "@types/jest": "^29.5.14",
  46. "@types/node": "^18",
  47. "@types/react": "^18.0.0",
  48. "@types/react-dom": "^18.0.0",
  49. "jest": "^30.2.0",
  50. "jest-environment-jsdom": "^29.7.0",
  51. "rimraf": "^6.1.2",
  52. "ts-jest": "^29.4.5",
  53. "typescript": "^5.4.5"
  54. },
  55. "files": [
  56. "dist",
  57. "src"
  58. ],
  59. "keywords": [
  60. "rencai",
  61. "talent",
  62. "shared",
  63. "components",
  64. "layout",
  65. "mini",
  66. "taro",
  67. "react"
  68. ],
  69. "author": "D8D Team",
  70. "license": "MIT"
  71. }