package.json 1.5 KB

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