package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. "type": "module",
  10. "exports": {
  11. ".": {
  12. "import": "./lib/index.js",
  13. "require": "./lib/cjs/index.js",
  14. "types": "./lib/index.d.ts"
  15. }
  16. },
  17. "main": "./lib/cjs/index.js",
  18. "module": "./lib/index.js",
  19. "types": "./lib/index.d.ts",
  20. "files": [
  21. "lib/**/*"
  22. ],
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/pyth-network/pyth-crosschain",
  26. "directory": "target_chains/ethereum/sdk/js"
  27. },
  28. "publishConfig": {
  29. "access": "public"
  30. },
  31. "scripts": {
  32. "build": "pnpm run build:esm && pnpm run build:cjs",
  33. "build:esm": "tsc",
  34. "build:cjs": "tsc --module commonjs --outDir lib/cjs",
  35. "example-client": "pnpm run build && node lib/examples/EvmPriceServiceClient.js",
  36. "example-relay": "pnpm run build && node lib/examples/EvmRelay.js",
  37. "example-benchmark": "pnpm run build && node lib/examples/EvmBenchmark.js",
  38. "format": "prettier --write \"src/**/*.ts\"",
  39. "test:lint": "eslint src/",
  40. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  41. "preversion": "pnpm run test:lint",
  42. "version": "pnpm run format && git add -A src"
  43. },
  44. "keywords": [
  45. "pyth",
  46. "oracle"
  47. ],
  48. "license": "Apache-2.0",
  49. "devDependencies": {
  50. "@pythnetwork/pyth-sdk-solidity": "workspace:*",
  51. "@truffle/hdwallet-provider": "^2.1.5",
  52. "@types/ethereum-protocol": "^1.0.2",
  53. "@types/jest": "^29.4.0",
  54. "@types/node": "^18.11.18",
  55. "@types/web3-provider-engine": "^14.0.1",
  56. "@types/yargs": "^17.0.10",
  57. "@typescript-eslint/eslint-plugin": "^5.21.0",
  58. "@typescript-eslint/parser": "^5.21.0",
  59. "eslint": "^8.14.0",
  60. "jest": "^29.4.1",
  61. "prettier": "^2.6.2",
  62. "ts-jest": "^29.0.5",
  63. "typescript": "^4.6.3",
  64. "web3": "^1.8.2",
  65. "yargs": "^17.4.1"
  66. },
  67. "dependencies": {
  68. "@pythnetwork/price-service-client": "workspace:*",
  69. "buffer": "^6.0.3"
  70. }
  71. }