package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@pythnetwork/pyth-evm-js",
  3. "version": "1.59.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. "test": "jest --passWithNoTests",
  24. "build": "tsc",
  25. "example-client": "pnpm run build && node lib/examples/EvmPriceServiceClient.js",
  26. "example-relay": "pnpm run build && node lib/examples/EvmRelay.js",
  27. "example-benchmark": "pnpm run build && node lib/examples/EvmBenchmark.js",
  28. "format": "prettier --write \"src/**/*.ts\"",
  29. "lint": "eslint src/",
  30. "prepublishOnly": "pnpm run build && pnpm test && pnpm run lint",
  31. "preversion": "pnpm run 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. "@pythnetwork/pyth-sdk-solidity": "workspace:*",
  41. "@truffle/hdwallet-provider": "^2.1.5",
  42. "@types/ethereum-protocol": "^1.0.2",
  43. "@types/jest": "^29.4.0",
  44. "@types/node": "^18.11.18",
  45. "@types/web3-provider-engine": "^14.0.1",
  46. "@types/yargs": "^17.0.10",
  47. "@typescript-eslint/eslint-plugin": "^5.21.0",
  48. "@typescript-eslint/parser": "^5.21.0",
  49. "eslint": "^8.14.0",
  50. "jest": "^29.4.1",
  51. "prettier": "^2.6.2",
  52. "ts-jest": "^29.0.5",
  53. "typescript": "^4.6.3",
  54. "web3": "^1.8.2",
  55. "yargs": "^17.4.1"
  56. },
  57. "dependencies": {
  58. "@pythnetwork/price-service-client": "workspace:*",
  59. "buffer": "^6.0.3"
  60. }
  61. }