package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@pythnetwork/pyth-evm-js",
  3. "version": "1.82.0",
  4. "description": "Pyth Network EVM Utils in JS",
  5. "homepage": "https://pyth.network",
  6. "author": {
  7. "name": "Pyth Data Association"
  8. },
  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": "target_chains/ethereum/sdk/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "build": "tsc",
  24. "example-client": "pnpm run build && node lib/examples/EvmPriceServiceClient.js",
  25. "example-relay": "pnpm run build && node lib/examples/EvmRelay.js",
  26. "example-benchmark": "pnpm run build && node lib/examples/EvmBenchmark.js",
  27. "format": "prettier --write \"src/**/*.ts\"",
  28. "test:lint": "eslint src/",
  29. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  30. "preversion": "pnpm run test:lint",
  31. "version": "pnpm run format && git add -A src"
  32. },
  33. "keywords": [
  34. "pyth",
  35. "oracle"
  36. ],
  37. "license": "Apache-2.0",
  38. "devDependencies": {
  39. "@pythnetwork/pyth-sdk-solidity": "workspace:*",
  40. "@truffle/hdwallet-provider": "^2.1.5",
  41. "@types/ethereum-protocol": "^1.0.2",
  42. "@types/jest": "^29.4.0",
  43. "@types/node": "^18.11.18",
  44. "@types/web3-provider-engine": "^14.0.1",
  45. "@types/yargs": "^17.0.10",
  46. "@typescript-eslint/eslint-plugin": "^5.21.0",
  47. "@typescript-eslint/parser": "^5.21.0",
  48. "eslint": "^8.14.0",
  49. "jest": "^29.4.1",
  50. "prettier": "^2.6.2",
  51. "ts-jest": "^29.0.5",
  52. "typescript": "^4.6.3",
  53. "web3": "^1.8.2",
  54. "yargs": "^17.4.1"
  55. },
  56. "dependencies": {
  57. "@pythnetwork/price-service-client": "workspace:*",
  58. "buffer": "^6.0.3"
  59. }
  60. }