package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@pythnetwork/pyth-evm-js",
  3. "version": "2.0.0-alpha2",
  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. "dist/**/*"
  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": "ts-duality",
  24. "test:format": "prettier --check \"src/**/*.ts\"",
  25. "test:lint": "eslint src/ --max-warnings 0",
  26. "fix:format": "prettier --write \"src/**/*.ts\"",
  27. "fix:lint": "eslint src/ --fix --max-warnings 0",
  28. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  29. "preversion": "pnpm run test:lint",
  30. "version": "pnpm run test:format && git add -A src",
  31. "clean": "rm -rf ./dist"
  32. },
  33. "keywords": [
  34. "pyth",
  35. "oracle"
  36. ],
  37. "license": "Apache-2.0",
  38. "devDependencies": {
  39. "@cprussin/eslint-config": "catalog:",
  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. "eslint": "catalog:",
  48. "jest": "^29.4.1",
  49. "prettier": "catalog:",
  50. "ts-jest": "^29.0.5"
  51. },
  52. "dependencies": {
  53. "@pythnetwork/hermes-client": "workspace:*",
  54. "viem": "catalog:"
  55. },
  56. "engines": {
  57. "node": ">=22.16.0",
  58. "pnpm": ">=10.19.0"
  59. },
  60. "packageManager": "pnpm@10.19.0",
  61. "type": "module"
  62. }