package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@pythnetwork/pyth-evm-js",
  3. "version": "1.83.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. "test:format": "prettier --check \"src/**/*.ts\"",
  28. "test:lint": "eslint src/ --max-warnings 0",
  29. "fix:format": "prettier --write \"src/**/*.ts\"",
  30. "fix:lint": "eslint src/ --fix --max-warnings 0",
  31. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  32. "preversion": "pnpm run test:lint",
  33. "version": "pnpm run format && git add -A src"
  34. },
  35. "keywords": [
  36. "pyth",
  37. "oracle"
  38. ],
  39. "license": "Apache-2.0",
  40. "devDependencies": {
  41. "@pythnetwork/pyth-sdk-solidity": "workspace:*",
  42. "@truffle/hdwallet-provider": "^2.1.5",
  43. "@types/ethereum-protocol": "^1.0.2",
  44. "@types/jest": "^29.4.0",
  45. "@types/node": "^18.11.18",
  46. "@types/web3-provider-engine": "^14.0.1",
  47. "@types/yargs": "^17.0.10",
  48. "@typescript-eslint/eslint-plugin": "^5.21.0",
  49. "@typescript-eslint/parser": "^5.21.0",
  50. "eslint": "^8.14.0",
  51. "jest": "^29.4.1",
  52. "prettier": "catalog:",
  53. "ts-jest": "^29.0.5",
  54. "typescript": "^4.6.3",
  55. "web3": "^1.8.2",
  56. "yargs": "^17.4.1"
  57. },
  58. "dependencies": {
  59. "@pythnetwork/price-service-client": "workspace:*",
  60. "buffer": "^6.0.3"
  61. }
  62. }