package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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": "./dist/index.js",
  11. "types": "./dist/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 --noEsm",
  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. "@cprussin/eslint-config": "catalog:",
  43. "@types/jest": "^29.4.0",
  44. "@types/yargs": "^17.0.10",
  45. "eslint": "catalog:",
  46. "jest": "^29.4.0",
  47. "prettier": "catalog:",
  48. "ts-jest": "^29.0.5",
  49. "yargs": "^17.4.1"
  50. },
  51. "dependencies": {
  52. "@pythnetwork/price-service-sdk": "workspace:*",
  53. "@types/ws": "^8.5.3",
  54. "axios": "^1.5.1",
  55. "axios-retry": "^4.0.0",
  56. "isomorphic-ws": "^4.0.1",
  57. "ts-log": "^2.2.4",
  58. "ws": "^8.6.0"
  59. },
  60. "engines": {
  61. "node": ">=22.16.0",
  62. "pnpm": ">=10.19.0"
  63. },
  64. "packageManager": "pnpm@10.19.0",
  65. "type": "module",
  66. "exports": {
  67. "./PriceServiceConnection": {
  68. "default": "./dist/PriceServiceConnection.js",
  69. "types": "./dist/PriceServiceConnection.d.ts"
  70. },
  71. "./ResillientWebSocket": {
  72. "default": "./dist/ResillientWebSocket.js",
  73. "types": "./dist/ResillientWebSocket.d.ts"
  74. },
  75. ".": {
  76. "default": "./dist/index.js",
  77. "types": "./dist/index.d.ts"
  78. },
  79. "./utils": {
  80. "default": "./dist/utils.js",
  81. "types": "./dist/utils.d.ts"
  82. },
  83. "./package.json": "./package.json"
  84. },
  85. "module": "./dist/esm/index.js"
  86. }