package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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/*": {
  15. "types": "./src/components/*.tsx",
  16. "import": "./src/components/*.tsx",
  17. "require": "./src/components/*.tsx"
  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. "@tanstack/react-query": "^5.90.12",
  35. "react": "^18.0.0",
  36. "react-dom": "^18.0.0"
  37. },
  38. "devDependencies": {
  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. "@d8d/mini-testing-utils": "workspace:*"
  51. },
  52. "files": [
  53. "src"
  54. ],
  55. "keywords": [
  56. "rencai",
  57. "talent",
  58. "shared",
  59. "components",
  60. "layout",
  61. "mini",
  62. "taro",
  63. "react"
  64. ],
  65. "author": "D8D Team",
  66. "license": "MIT"
  67. }