package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@pythnetwork/price-service-client",
  3. "version": "1.9.1",
  4. "description": "Pyth price service client",
  5. "deprecated": "This package is deprecated and is no longer maintained. Please use @pythnetwork/hermes-client instead.",
  6. "author": {
  7. "name": "Pyth Data Association"
  8. },
  9. "homepage": "https://pyth.network",
  10. "main": "lib/index.js",
  11. "types": "lib/index.d.ts",
  12. "files": [
  13. "dist/**/*"
  14. ],
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/pyth-network/pyth-crosschain",
  18. "directory": "price_service/client/js"
  19. },
  20. "publishConfig": {
  21. "access": "public"
  22. },
  23. "scripts": {
  24. "test:e2e": "jest --testPathPattern=.*.e2e.test.ts",
  25. "build": "ts-duality",
  26. "example": "pnpm run build && node lib/examples/PriceServiceClient.js",
  27. "fix:format": "prettier --write \"src/**/*.ts\"",
  28. "fix:lint": "eslint src/ --fix --max-warnings 0",
  29. "test:format": "prettier --check \"src/**/*.ts\"",
  30. "test:lint": "eslint src/ --max-warnings 0",
  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/yargs": "^17.0.10",
  44. "@typescript-eslint/eslint-plugin": "^5.21.0",
  45. "@typescript-eslint/parser": "^5.21.0",
  46. "eslint": "^8.14.0",
  47. "jest": "^29.4.0",
  48. "prettier": "catalog:",
  49. "ts-jest": "^29.0.5",
  50. "yargs": "^17.4.1"
  51. },
  52. "dependencies": {
  53. "@pythnetwork/price-service-sdk": "workspace:*",
  54. "@types/ws": "^8.5.3",
  55. "axios": "^1.5.1",
  56. "axios-retry": "^4.0.0",
  57. "isomorphic-ws": "^4.0.1",
  58. "ts-log": "^2.2.4",
  59. "ws": "^8.6.0"
  60. },
  61. "engines": {
  62. "node": ">=22.16.0",
  63. "pnpm": ">=10.19.0"
  64. },
  65. "packageManager": "pnpm@10.19.0",
  66. "type": "module"
  67. }