package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "@d8d/feie-printer-module-mt",
  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. "./entities": {
  30. "types": "./src/entities/index.ts",
  31. "import": "./src/entities/index.ts",
  32. "require": "./src/entities/index.ts"
  33. },
  34. "./types": {
  35. "types": "./src/types/index.ts",
  36. "import": "./src/types/index.ts",
  37. "require": "./src/types/index.ts"
  38. }
  39. },
  40. "files": [
  41. "src"
  42. ],
  43. "scripts": {
  44. "build": "tsc",
  45. "dev": "tsc --watch",
  46. "test": "vitest run",
  47. "test:watch": "vitest",
  48. "test:coverage": "vitest run --coverage",
  49. "test:integration": "vitest run tests/integration",
  50. "lint": "eslint src --ext .ts,.tsx",
  51. "typecheck": "tsc --noEmit"
  52. },
  53. "dependencies": {
  54. "@d8d/auth-module-mt": "workspace:*",
  55. "@d8d/file-module-mt": "workspace:*",
  56. "@d8d/orders-module-mt": "workspace:*",
  57. "@d8d/shared-crud": "workspace:*",
  58. "@d8d/shared-types": "workspace:*",
  59. "@d8d/shared-utils": "workspace:*",
  60. "@d8d/tenant-module-mt": "workspace:*",
  61. "@d8d/user-module-mt": "workspace:*",
  62. "@hono/zod-openapi": "^1.0.2",
  63. "axios": "^1.7.9",
  64. "node-cron": "^3.0.3",
  65. "@d8d/core-module-mt": "workspace:*",
  66. "typeorm": "^0.3.20",
  67. "zod": "^4.1.12"
  68. },
  69. "devDependencies": {
  70. "@d8d/shared-test-util": "workspace:*",
  71. "@types/node": "^22.10.2",
  72. "@types/node-cron": "^3.0.11",
  73. "@typescript-eslint/eslint-plugin": "^8.18.1",
  74. "@typescript-eslint/parser": "^8.18.1",
  75. "eslint": "^9.17.0",
  76. "typescript": "^5.8.3",
  77. "vitest": "^3.2.4"
  78. },
  79. "peerDependencies": {
  80. "hono": "^4.8.5"
  81. },
  82. "keywords": [
  83. "feie",
  84. "printer",
  85. "printing",
  86. "receipt",
  87. "e-commerce",
  88. "api",
  89. "multi-tenant",
  90. "tenant-isolation",
  91. "delay-printing",
  92. "refund-protection"
  93. ],
  94. "author": "D8D Team",
  95. "license": "MIT"
  96. }