package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "@pythnetwork/pyth-aptos-js",
  3. "version": "1.5.0",
  4. "description": "Pyth Network Aptos Utilities",
  5. "homepage": "https://pyth.network",
  6. "author": {
  7. "name": "Pyth Data Association"
  8. },
  9. "main": "./dist/index.cjs",
  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. "@pythnetwork/jest-config": "workspace:",
  43. "@types/ethereum-protocol": "^1.0.2",
  44. "@types/jest": "^29.4.0",
  45. "@types/node": "^18.11.18",
  46. "@types/web3-provider-engine": "^14.0.1",
  47. "@types/yargs": "^17.0.10",
  48. "@typescript-eslint/eslint-plugin": "^5.21.0",
  49. "@typescript-eslint/parser": "^5.21.0",
  50. "eslint": "catalog:",
  51. "jest": "^29.4.1",
  52. "prettier": "catalog:",
  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.14.0"
  63. },
  64. "type": "module",
  65. "exports": {
  66. "./AptosPriceServiceConnection": {
  67. "types": "./dist/AptosPriceServiceConnection.d.ts",
  68. "default": "./dist/AptosPriceServiceConnection.cjs"
  69. },
  70. ".": {
  71. "types": "./dist/index.d.ts",
  72. "default": "./dist/index.cjs"
  73. },
  74. "./package.json": "./package.json"
  75. }
  76. }