package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@pythnetwork/hermes-client",
  3. "version": "2.0.0",
  4. "description": "Pyth Hermes Client",
  5. "author": {
  6. "name": "Pyth Data Association"
  7. },
  8. "homepage": "https://pyth.network",
  9. "main": "lib/HermesClient.js",
  10. "types": "lib/HermesClient.d.ts",
  11. "files": [
  12. "dist/**/*"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/pyth-network/pyth-crosschain",
  17. "directory": "apps/hermes/client/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "build": "ts-duality",
  24. "build:schemas": "openapi-zod-client ./schema.json --output src/zodSchemas.ts",
  25. "pull:schema": "curl -o schema.json -z schema.json https://hermes.pyth.network/docs/openapi.json",
  26. "example": "node lib/examples/HermesClient.js",
  27. "fix:lint": "eslint src/ --fix --max-warnings 0",
  28. "fix:format": "prettier --write \"src/**/*.ts\"",
  29. "test:lint": "eslint src/ --max-warnings 0",
  30. "test:format": "prettier --check \"src/**/*.ts\"",
  31. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  32. "preversion": "pnpm run test:lint",
  33. "version": "pnpm run format && git add -A src",
  34. "clean": "rm -rf ./dist"
  35. },
  36. "keywords": [
  37. "pyth",
  38. "oracle"
  39. ],
  40. "license": "Apache-2.0",
  41. "devDependencies": {
  42. "@types/jest": "^29.4.0",
  43. "@types/node": "^20.14.2",
  44. "@types/yargs": "^17.0.10",
  45. "@typescript-eslint/eslint-plugin": "^5.21.0",
  46. "@typescript-eslint/parser": "^5.21.0",
  47. "eslint": "^8.14.0",
  48. "jest": "^29.4.0",
  49. "openapi-zod-client": "^1.18.1",
  50. "prettier": "catalog:",
  51. "ts-jest": "^29.0.5",
  52. "yargs": "^17.4.1"
  53. },
  54. "dependencies": {
  55. "@zodios/core": "^10.9.6",
  56. "eventsource": "^3.0.5",
  57. "zod": "^3.23.8"
  58. },
  59. "engines": {
  60. "node": ">=22.16.0",
  61. "pnpm": ">=10.19.0"
  62. },
  63. "packageManager": "pnpm@10.19.0",
  64. "type": "module"
  65. }