package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@pythnetwork/express-relay-evm-js",
  3. "version": "0.6.0",
  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. "test": "jest src/ --passWithNoTests",
  18. "simple-searcher": "npm run build && node lib/examples/simpleSearcher.js",
  19. "generate-api-types": "openapi-typescript http://127.0.0.1:9000/docs/openapi.json --output src/serverTypes.d.ts",
  20. "format": "prettier --write \"src/**/*.ts\"",
  21. "lint": "eslint src",
  22. "prepublishOnly": "npm run build && npm test && npm run lint",
  23. "preversion": "npm run lint",
  24. "version": "npm run format && git add -A src"
  25. },
  26. "keywords": [
  27. "pyth",
  28. "oracle",
  29. "relay"
  30. ],
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/pyth-network/pyth-crosschain",
  34. "directory": "express_relay/sdk/js"
  35. },
  36. "dependencies": {
  37. "isomorphic-ws": "^5.0.0",
  38. "openapi-client-axios": "^7.5.4",
  39. "openapi-fetch": "^0.8.2",
  40. "openapi-typescript": "^6.5.5",
  41. "viem": "^2.7.6",
  42. "ws": "^8.16.0"
  43. },
  44. "devDependencies": {
  45. "@pythnetwork/pyth-evm-js": "*",
  46. "@types/node": "^20.12.7",
  47. "@types/yargs": "^17.0.10",
  48. "@typescript-eslint/eslint-plugin": "^5.21.0",
  49. "@typescript-eslint/parser": "^5.21.0",
  50. "eslint": "^8.56.0",
  51. "jest": "^27.5.1",
  52. "prettier": "^2.6.2",
  53. "typescript": "^5.3.3",
  54. "yargs": "^17.4.1"
  55. },
  56. "license": "Apache-2.0"
  57. }