package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@pythnetwork/express-relay-js",
  3. "version": "0.12.2",
  4. "description": "Utilities for interacting with the express relay protocol",
  5. "homepage": "https://github.com/pyth-network/pyth-crosschain/tree/main/express_relay/sdk/js",
  6. "author": "Douro Labs",
  7. "main": "lib/index.js",
  8. "types": "lib/index.d.ts",
  9. "files": [
  10. "lib/**/*"
  11. ],
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "scripts": {
  16. "build": "tsc",
  17. "simple-searcher-evm": "pnpm run build && node lib/examples/simpleSearcherEvm.js",
  18. "simple-searcher-svm": "pnpm run build && node lib/examples/simpleSearcherSvm.js",
  19. "simple-searcher-limo": "pnpm run build && node lib/examples/simpleSearcherLimo.js",
  20. "generate-api-types": "openapi-typescript http://127.0.0.1:9000/docs/openapi.json --output src/serverTypes.d.ts",
  21. "generate-anchor-types": "anchor idl type src/idl/idlExpressRelay.json --out src/expressRelayTypes.d.ts && anchor idl type src/examples/idl/idlDummy.json --out src/examples/dummyTypes.d.ts",
  22. "format": "prettier --write \"src/**/*.ts\"",
  23. "test:lint": "eslint src",
  24. "prepublishOnly": "pnpm run build && pnpm test:lint",
  25. "preversion": "pnpm run test:lint",
  26. "version": "pnpm run format && git add -A src"
  27. },
  28. "keywords": [
  29. "pyth",
  30. "oracle",
  31. "relay"
  32. ],
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/pyth-network/pyth-crosschain",
  36. "directory": "express_relay/sdk/js"
  37. },
  38. "dependencies": {
  39. "@coral-xyz/anchor": "^0.30.1",
  40. "@kamino-finance/limo-sdk": "^0.3.0",
  41. "@solana/web3.js": "^1.95.3",
  42. "decimal.js": "^10.4.3",
  43. "isomorphic-ws": "^5.0.0",
  44. "openapi-client-axios": "^7.5.5",
  45. "openapi-fetch": "^0.8.2",
  46. "viem": "^2.16.2",
  47. "ws": "^8.17.1"
  48. },
  49. "devDependencies": {
  50. "@pythnetwork/pyth-evm-js": "workspace:*",
  51. "@types/node": "^20.14.9",
  52. "@types/yargs": "^17.0.32",
  53. "@typescript-eslint/eslint-plugin": "^6.21.0",
  54. "@typescript-eslint/parser": "^6.21.0",
  55. "eslint": "^8.57.0",
  56. "jest": "^27.5.1",
  57. "openapi-typescript": "6.5.5",
  58. "prettier": "^2.8.8",
  59. "typescript": "^5.5.2",
  60. "yargs": "^17.7.2"
  61. },
  62. "license": "Apache-2.0"
  63. }