package.json 1004 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. "wechatpay-node-v3": "^1.3.0"
  33. },
  34. "devDependencies": {
  35. "@types/node": "^20.10.5",
  36. "typescript": "^5.3.3",
  37. "vitest": "^1.2.2",
  38. "@vitest/coverage-v8": "^1.2.2"
  39. },
  40. "peerDependencies": {
  41. "hono": "^4.8.5"
  42. }
  43. }