package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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": "./dist/index.js",
  10. "types": "./dist/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/aptos/sdk/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "build": "ts-duality --noEsm",
  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. "clean": "rm -rf ./dist"
  33. },
  34. "keywords": [
  35. "pyth",
  36. "oracle"
  37. ],
  38. "license": "Apache-2.0",
  39. "devDependencies": {
  40. "@cprussin/eslint-config": "catalog:",
  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. "@typescript-eslint/eslint-plugin": "^5.21.0",
  48. "@typescript-eslint/parser": "^5.21.0",
  49. "eslint": "catalog:",
  50. "jest": "^29.4.1",
  51. "prettier": "catalog:",
  52. "ts-jest": "^29.0.5",
  53. "web3": "^1.8.2",
  54. "yargs": "^17.4.1"
  55. },
  56. "dependencies": {
  57. "@pythnetwork/price-service-client": "workspace:*",
  58. "aptos": "^1.3.14",
  59. "buffer": "^6.0.3"
  60. },
  61. "engines": {
  62. "node": ">=22.16.0",
  63. "pnpm": ">=10.19.0"
  64. },
  65. "packageManager": "pnpm@10.19.0",
  66. "type": "module",
  67. "exports": {
  68. "./AptosPriceServiceConnection": {
  69. "default": "./dist/AptosPriceServiceConnection.js",
  70. "types": "./dist/AptosPriceServiceConnection.d.ts"
  71. },
  72. ".": {
  73. "default": "./dist/index.js",
  74. "types": "./dist/index.d.ts"
  75. },
  76. "./package.json": "./package.json"
  77. }
  78. }