package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "@d8d/yongren-statistics-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/Statistics/Statistics": {
  20. "types": "./dist/src/pages/Statistics/Statistics.d.ts",
  21. "import": "./dist/src/pages/Statistics/Statistics.js",
  22. "require": "./dist/src/pages/Statistics/Statistics.js"
  23. }
  24. },
  25. "scripts": {
  26. "clean": "rimraf dist",
  27. "build": "tsc",
  28. "prebuild": "pnpm run clean",
  29. "dev": "tsc --watch",
  30. "typecheck": "tsc --noEmit",
  31. "test": "jest",
  32. "test:watch": "jest --watch",
  33. "test:coverage": "jest --coverage"
  34. },
  35. "dependencies": {
  36. "@d8d/allin-statistics-module": "workspace:*",
  37. "@d8d/mini-charts": "workspace:*",
  38. "@d8d/mini-enterprise-auth-ui": "workspace:*",
  39. "@d8d/mini-shared-ui-components": "workspace:*",
  40. "@d8d/yongren-shared-ui": "workspace:*",
  41. "@tanstack/react-query": "^5.90.12",
  42. "@tarojs/components": "4.1.4",
  43. "@tarojs/plugin-platform-weapp": "4.1.4",
  44. "@tarojs/react": "4.1.4",
  45. "@tarojs/taro": "4.1.4",
  46. "react": "^18.0.0",
  47. "react-dom": "^18.0.0"
  48. },
  49. "devDependencies": {
  50. "@d8d/mini-testing-utils": "workspace:*",
  51. "@testing-library/jest-dom": "^6.8.0",
  52. "@testing-library/react": "^16.3.0",
  53. "@testing-library/user-event": "^14.6.1",
  54. "@types/jest": "^29.5.14",
  55. "@types/node": "^18",
  56. "@types/react": "^18.0.0",
  57. "@types/react-dom": "^18.0.0",
  58. "hono": "4.8.5",
  59. "jest": "^30.2.0",
  60. "jest-environment-jsdom": "^29.7.0",
  61. "rimraf": "^6.1.2",
  62. "ts-jest": "^29.4.5",
  63. "typescript": "^5.4.5"
  64. },
  65. "files": [
  66. "src"
  67. ],
  68. "keywords": [
  69. "yongren",
  70. "statistics",
  71. "mini",
  72. "taro",
  73. "react"
  74. ],
  75. "author": "D8D Team",
  76. "license": "MIT"
  77. }