package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@pythnetwork/pyth-iota-js",
  3. "version": "2.1.0",
  4. "description": "Pyth Network IOTA 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/sui/sdk/js-iota"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "build": "ts-duality --noEsm",
  24. "example-relay": "pnpm run build && node lib/examples/SuiRelay.js",
  25. "test:lint": "eslint src/",
  26. "test:format": "prettier --check \"src/**/*.ts\"",
  27. "fix:lint": "eslint --fix src/",
  28. "fix:format": "prettier --write \"src/**/*.ts\"",
  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. "iota"
  38. ],
  39. "license": "Apache-2.0",
  40. "devDependencies": {
  41. "@cprussin/eslint-config": "catalog:",
  42. "@pythnetwork/jest-config": "workspace:",
  43. "@truffle/hdwallet-provider": "^2.1.5",
  44. "@types/ethereum-protocol": "^1.0.2",
  45. "@types/jest": "^29.4.0",
  46. "@types/node": "^18.11.18",
  47. "@types/web3-provider-engine": "^14.0.1",
  48. "@types/yargs": "^17.0.20",
  49. "eslint": "catalog:",
  50. "jest": "^29.4.1",
  51. "prettier": "catalog:",
  52. "web3": "^1.8.2",
  53. "yargs": "^17.0.20"
  54. },
  55. "dependencies": {
  56. "@iota/iota-sdk": "^0.5.0",
  57. "@pythnetwork/price-service-client": "workspace:*",
  58. "buffer": "^6.0.3"
  59. },
  60. "engines": {
  61. "node": ">=22.14.0",
  62. "pnpm": ">=10.7.0"
  63. },
  64. "packageManager": "pnpm@10.19.0",
  65. "type": "module",
  66. "exports": {
  67. "./IotaPriceServiceConnection": {
  68. "types": "./dist/IotaPriceServiceConnection.d.ts",
  69. "default": "./dist/IotaPriceServiceConnection.cjs"
  70. },
  71. "./client": {
  72. "types": "./dist/client.d.ts",
  73. "default": "./dist/client.cjs"
  74. },
  75. ".": {
  76. "types": "./dist/index.d.ts",
  77. "default": "./dist/index.cjs"
  78. },
  79. "./package.json": "./package.json"
  80. },
  81. "module": "./dist/esm/index.js"
  82. }