2022-05-17 09:42:04 -07:00
|
|
|
{
|
|
|
|
"name": "@switchboard-xyz/switchboard-v2",
|
2022-05-19 13:49:38 -07:00
|
|
|
"version": "0.0.98",
|
2022-05-17 09:42:04 -07:00
|
|
|
"private": true,
|
|
|
|
"description": "API wrapper for intergating with the Switchboardv2 program",
|
|
|
|
"keywords": [
|
|
|
|
"oracle",
|
|
|
|
"solana",
|
|
|
|
"Defi"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/switchboard-xyz/switchboard-v2",
|
|
|
|
"directory": "libraries/ts"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"author": "mitch@switchboard.xyz",
|
|
|
|
"files": [
|
|
|
|
"./lib",
|
|
|
|
"./src"
|
|
|
|
],
|
|
|
|
"main": "lib/cjs/index.js",
|
|
|
|
"types": "lib/cjs/index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"docgen": "yarn build && npx typedoc",
|
|
|
|
"build": "shx rm -rf lib tsconfig.tsbuildinfo && tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
|
|
|
"test": "mocha --extension ts --require ts-node/register -t 1000000 tests/",
|
2022-05-20 11:44:41 -07:00
|
|
|
"prepublishOnly": "npm run build && npm version patch --force"
|
2022-05-17 09:42:04 -07:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"@solana/spl-governance": "^0.0.34",
|
|
|
|
"@solana/spl-token": "^0.1.8",
|
|
|
|
"@solana/web3.js": "1.37.1",
|
|
|
|
"@switchboard-xyz/switchboard-api": "^0.2.199"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@project-serum/anchor": "^0.24.2",
|
|
|
|
"@solana/spl-governance": "^0.0.34",
|
|
|
|
"@switchboard-xyz/switchboard-api": "^0.2.199",
|
|
|
|
"assert": "^2.0.0",
|
|
|
|
"big.js": "^6.1.1",
|
|
|
|
"bs58": "^4.0.1",
|
|
|
|
"buffer-layout": "^1.2.0",
|
|
|
|
"chalk": "^4.1.2",
|
|
|
|
"chan": "^0.6.1",
|
|
|
|
"crypto-js": "^4.0.0",
|
|
|
|
"dotenv": "^16.0.0",
|
|
|
|
"long": "^4.0.0",
|
|
|
|
"node-fetch": "^3.2.3",
|
|
|
|
"protobufjs": "^6.10.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/big.js": "^6.0.2",
|
|
|
|
"@types/long": "^4.0.1",
|
|
|
|
"@types/mocha": "^9.0.0",
|
|
|
|
"mocha": "^9.1.1",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"shx": "^0.3.4",
|
|
|
|
"typedoc": "^0.22.13",
|
|
|
|
"typescript": "^4.2.4"
|
|
|
|
}
|
|
|
|
}
|