package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@pythnetwork/pyth-aptos-js",
  3. "version": "1.4.2",
  4. "description": "Pyth Network Aptos Utilities",
  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/aptos/sdk/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "build": "tsc",
  24. "example-relay": "pnpm run build && node lib/examples/AptosRelay.js",
  25. "fix:format": "prettier --write \"src/**/*.ts\"",
  26. "fix:lint": "eslint src/ --fix --max-warnings 0",
  27. "test:format": "prettier --check \"src/**/*.ts\"",
  28. "test:lint": "eslint src/ --max-warnings 0",
  29. "prepublishOnly": "pnpm run build && pnpm 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. "@truffle/hdwallet-provider": "^2.1.5",
  40. "@types/ethereum-protocol": "^1.0.2",
  41. "@types/jest": "^29.4.0",
  42. "@types/node": "^18.11.18",
  43. "@types/web3-provider-engine": "^14.0.1",
  44. "@types/yargs": "^17.0.10",
  45. "@typescript-eslint/eslint-plugin": "^5.21.0",
  46. "@typescript-eslint/parser": "^5.21.0",
  47. "eslint": "^8.14.0",
  48. "jest": "^29.4.1",
  49. "prettier": "catalog:",
  50. "ts-jest": "^29.0.5",
  51. "typescript": "^4.6.3",
  52. "web3": "^1.8.2",
  53. "yargs": "^17.4.1"
  54. },
  55. "dependencies": {
  56. "@pythnetwork/price-service-client": "workspace:*",
  57. "aptos": "^1.3.14",
  58. "buffer": "^6.0.3"
  59. }
  60. }