package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "@d8d/rencai-dashboard-ui",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "人才小程序仪表板页面包 - 提供首页/个人主页页面组件",
  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. "./api": {
  15. "types": "./src/api/index.ts",
  16. "import": "./src/api/index.ts",
  17. "require": "./src/api/index.ts"
  18. },
  19. "./pages/Dashboard/Dashboard": {
  20. "types": "./dist/src/pages/Dashboard/Dashboard.d.ts",
  21. "import": "./dist/src/pages/Dashboard/Dashboard.js",
  22. "require": "./dist/src/pages/Dashboard/Dashboard.js"
  23. }
  24. },
  25. "scripts": {
  26. "build": "tsc",
  27. "dev": "tsc --watch",
  28. "typecheck": "tsc --noEmit",
  29. "test": "jest",
  30. "test:watch": "jest --watch",
  31. "test:coverage": "jest --coverage"
  32. },
  33. "dependencies": {
  34. "@d8d/mini-shared-ui-components": "workspace:*",
  35. "@d8d/rencai-shared-ui": "workspace:*",
  36. "@d8d/allin-disability-module": "workspace:*",
  37. "@d8d/allin-order-module": "workspace:*",
  38. "@tarojs/components": "4.1.4",
  39. "@tarojs/plugin-platform-weapp": "4.1.4",
  40. "@tarojs/react": "4.1.4",
  41. "@tarojs/taro": "4.1.4",
  42. "@tanstack/react-query": "^5.90.12",
  43. "react": "^18.0.0",
  44. "react-dom": "^18.0.0"
  45. },
  46. "devDependencies": {
  47. "@testing-library/jest-dom": "^6.8.0",
  48. "@testing-library/react": "^16.3.0",
  49. "@testing-library/user-event": "^14.6.1",
  50. "@types/jest": "^29.5.14",
  51. "@types/node": "^18",
  52. "@types/react": "^18.0.0",
  53. "@types/react-dom": "^18.0.0",
  54. "jest": "^30.2.0",
  55. "jest-environment-jsdom": "^29.7.0",
  56. "ts-jest": "^29.4.5",
  57. "typescript": "^5.4.5",
  58. "@d8d/mini-testing-utils": "workspace:*"
  59. },
  60. "files": [
  61. "src"
  62. ],
  63. "keywords": [
  64. "rencai",
  65. "talent",
  66. "dashboard",
  67. "mini",
  68. "taro",
  69. "react"
  70. ],
  71. "author": "D8D Team",
  72. "license": "MIT"
  73. }