package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "@d8d/allin-statistics-module",
  3. "version": "1.0.0",
  4. "description": "数据统计模块 - 提供跨实体通用数据统计功能,包括残疾类型分布、性别分布、年龄分布、户籍分布、在职状态分布、薪资分布等统计",
  5. "type": "module",
  6. "main": "src/index.ts",
  7. "types": "src/index.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./src/index.ts",
  11. "import": "./src/index.ts",
  12. "require": "./src/index.ts"
  13. },
  14. "./services": {
  15. "types": "./src/services/index.ts",
  16. "import": "./src/services/index.ts",
  17. "require": "./src/services/index.ts"
  18. },
  19. "./schemas": {
  20. "types": "./src/schemas/index.ts",
  21. "import": "./src/schemas/index.ts",
  22. "require": "./src/schemas/index.ts"
  23. },
  24. "./routes": {
  25. "types": "./src/routes/index.ts",
  26. "import": "./src/routes/index.ts",
  27. "require": "./src/routes/index.ts"
  28. }
  29. },
  30. "files": [
  31. "src"
  32. ],
  33. "scripts": {
  34. "build": "tsc",
  35. "dev": "tsc --watch",
  36. "test": "vitest run",
  37. "test:watch": "vitest",
  38. "test:integration": "vitest run tests/integration",
  39. "test:coverage": "vitest run --coverage",
  40. "lint": "eslint src --ext .ts,.tsx",
  41. "typecheck": "tsc --noEmit"
  42. },
  43. "dependencies": {
  44. "@d8d/shared-types": "workspace:*",
  45. "@d8d/shared-utils": "workspace:*",
  46. "@d8d/shared-crud": "workspace:*",
  47. "@d8d/allin-disability-module": "workspace:*",
  48. "@d8d/allin-order-module": "workspace:*",
  49. "@d8d/allin-company-module": "workspace:*",
  50. "@d8d/auth-module": "workspace:*",
  51. "@hono/zod-openapi": "^1.0.2",
  52. "typeorm": "^0.3.20",
  53. "zod": "^4.1.12"
  54. },
  55. "devDependencies": {
  56. "@types/node": "^22.10.2",
  57. "typescript": "^5.8.3",
  58. "vitest": "^3.2.4",
  59. "@d8d/shared-test-util": "workspace:*",
  60. "@typescript-eslint/eslint-plugin": "^8.18.1",
  61. "@typescript-eslint/parser": "^8.18.1",
  62. "eslint": "^9.17.0"
  63. },
  64. "peerDependencies": {
  65. "hono": "^4.8.5"
  66. },
  67. "keywords": [
  68. "statistics",
  69. "analytics",
  70. "data",
  71. "distribution",
  72. "reporting",
  73. "allin-module"
  74. ],
  75. "author": "D8D Team",
  76. "license": "MIT"
  77. }