package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "@d8d/mini-payment",
  3. "version": "1.0.0",
  4. "description": "微信小程序支付模块",
  5. "type": "module",
  6. "main": "dist/index.js",
  7. "types": "dist/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "import": "./dist/index.js",
  11. "types": "./dist/index.d.ts"
  12. },
  13. "./package.json": "./package.json"
  14. },
  15. "files": [
  16. "dist"
  17. ],
  18. "scripts": {
  19. "build": "tsc",
  20. "dev": "tsc --watch",
  21. "test": "vitest run",
  22. "test:watch": "vitest",
  23. "test:coverage": "vitest run --coverage",
  24. "lint": "eslint src --ext .ts",
  25. "typecheck": "tsc --noEmit"
  26. },
  27. "dependencies": {
  28. "@d8d/shared-types": "workspace:*",
  29. "@d8d/shared-utils": "workspace:*",
  30. "@d8d/user-module": "workspace:*",
  31. "@d8d/auth-module": "workspace:*",
  32. "@hono/zod-openapi": "^1.0.2",
  33. "typeorm": "^0.3.20",
  34. "wechatpay-node-v3": "2.1.8",
  35. "zod": "^4.1.12"
  36. },
  37. "devDependencies": {
  38. "@types/node": "^20.10.5",
  39. "typescript": "^5.8.3",
  40. "vitest": "^3.2.4",
  41. "@vitest/coverage-v8": "^3.2.4",
  42. "@d8d/shared-test-util": "workspace:*"
  43. },
  44. "peerDependencies": {
  45. "hono": "^4.8.5"
  46. }
  47. }