pyth-crosschain/third_party/pyth/p2w-relay/package.json

57 lines
1.8 KiB
JSON

{
"name": "pyth_relay",
"version": "1.0.0",
"description": "Pyth relayer",
"main": "index.js",
"scripts": {
"build": "npm run build-evm && npm run build-lib",
"build-evm": "npm run build-evm-contract && npm run copy-evm-abis && npm run build-evm-bindings",
"build-lib": "tsc",
"build-evm-contract": "cd ../../../target-chains/ethereum/ && (npm run build || npm ci && npm run build)",
"copy-evm-abis": "mkdir -p ./src/evm/abis && cp -r ../../../target-chains/ethereum/build/contracts/* ./src/evm/abis/",
"build-evm-bindings": "mkdir -p ./src/evm/bindings/ && typechain --target=ethers-v5 --out-dir=src/evm/bindings/ src/evm/abis/Pyth*.json",
"start": "node lib/index.js",
"listen_only": "node lib/index.js --listen_only"
},
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@types/jest": "^27.0.2",
"@types/long": "^4.0.1",
"@types/node": "^16.6.1",
"esm": "^3.2.25",
"ethers": "^5.4.4",
"jest": "^27.3.1",
"prettier": "^2.3.2",
"ts-jest": "^27.0.7",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@pythnetwork/p2w-sdk-js": "file:../p2w-sdk/js",
"@certusone/wormhole-sdk": "^0.1.4",
"@certusone/wormhole-spydk": "^0.0.1",
"@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.24.0",
"@terra-money/terra.js": "^3.1.3",
"@typechain/ethers-v5": "^7.0.1",
"@types/express": "^4.17.13",
"async-mutex": "^0.3.2",
"axios": "^0.24.0",
"body-parser": "^1.19.0",
"condition-variable": "^1.0.0",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.2",
"prom-client": "^14.0.1",
"redis": "^4.0.0",
"winston": "^3.3.3"
},
"directories": {
"lib": "lib"
},
"keywords": []
}