UNPKG

@pythnetwork/client

Version:

Client for consuming Pyth price data

54 lines (53 loc) 1.54 kB
{ "name": "@pythnetwork/client", "version": "2.22.1", "description": "Client for consuming Pyth price data", "homepage": "https://pyth.network", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*" ], "repository": "https://github.com/pyth-network/pyth-client-js", "scripts": { "test": "jest --config jestconfig.json", "build": "tsc", "format": "prettier --write \"src/**/*.{ts,json}\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "ws_example": "npm run build && node lib/example_ws_usage.js", "ws_single_example": "npm run build && node lib/example_ws_usage.js", "http_example": "npm run build && node lib/example_http_usage.js" }, "keywords": [ "pyth", "solana", "oracle" ], "license": "Apache-2.0", "devDependencies": { "@solana/web3.js": "^1.30.2", "@types/bn.js": "^5.1.1", "@types/bs58": "^4.0.1", "@types/jest": "^27.0.7", "@types/node-fetch": "^2.6.2", "jest": "^27.3.1", "prettier": "^2.3.0", "ts-jest": "^27.0.7", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.2.4" }, "dependencies": { "buffer": "^6.0.1", "@coral-xyz/anchor": "^0.29.0", "@coral-xyz/borsh": "^0.28.0" }, "peerDependencies": { "@solana/web3.js": "^1.30.2" } }