package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@pythnetwork/price-service-client",
  3. "version": "1.9.0",
  4. "description": "Pyth price service client",
  5. "author": {
  6. "name": "Pyth Data Association"
  7. },
  8. "homepage": "https://pyth.network",
  9. "main": "lib/index.js",
  10. "types": "lib/index.d.ts",
  11. "files": [
  12. "lib/**/*"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/pyth-network/pyth-crosschain",
  17. "directory": "price_service/client/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "test:e2e": "jest --testPathPattern=.*.e2e.test.ts",
  24. "build": "tsc",
  25. "example": "pnpm run build && node lib/examples/PriceServiceClient.js",
  26. "fix:format": "prettier --write \"src/**/*.ts\"",
  27. "fix:lint": "eslint src/ --fix --max-warnings 0",
  28. "test:format": "prettier --check \"src/**/*.ts\"",
  29. "test:lint": "eslint src/ --max-warnings 0",
  30. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  31. "preversion": "pnpm run test:lint",
  32. "version": "pnpm run format && git add -A src"
  33. },
  34. "keywords": [
  35. "pyth",
  36. "oracle"
  37. ],
  38. "license": "Apache-2.0",
  39. "devDependencies": {
  40. "@types/jest": "^29.4.0",
  41. "@types/yargs": "^17.0.10",
  42. "@typescript-eslint/eslint-plugin": "^5.21.0",
  43. "@typescript-eslint/parser": "^5.21.0",
  44. "eslint": "^8.14.0",
  45. "jest": "^29.4.0",
  46. "prettier": "catalog:",
  47. "ts-jest": "^29.0.5",
  48. "typescript": "^4.6.3",
  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. }