2022-05-17 09:42:04 -07:00
|
|
|
{
|
|
|
|
"name": "@switchboard-xyz/switchboard-v2",
|
2022-09-20 17:40:07 -07:00
|
|
|
"version": "0.0.133",
|
2022-05-25 11:38:29 -07:00
|
|
|
"license": "MIT",
|
|
|
|
"author": "mitch@switchboard.xyz",
|
2022-05-17 09:42:04 -07:00
|
|
|
"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"
|
|
|
|
},
|
2022-05-25 11:38:29 -07:00
|
|
|
"homepage": "https://docs.switchboard.xyz",
|
2022-05-17 09:42:04 -07:00
|
|
|
"files": [
|
2022-05-25 14:07:24 -07:00
|
|
|
"lib",
|
2022-06-29 10:33:05 -07:00
|
|
|
"src",
|
|
|
|
"package.json"
|
2022-05-17 09:42:04 -07:00
|
|
|
],
|
2022-06-21 02:41:52 -07:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./lib/esm/index.js",
|
|
|
|
"require": "./lib/cjs/index.js"
|
2022-06-29 10:33:05 -07:00
|
|
|
},
|
|
|
|
"./package.json": "./package.json"
|
2022-06-21 02:41:52 -07:00
|
|
|
},
|
2022-06-16 09:48:26 -07:00
|
|
|
"main": "lib/cjs/index.js",
|
|
|
|
"module": "lib/esm/index.js",
|
2022-06-17 22:43:18 -07:00
|
|
|
"types": "lib/cjs/index.d.ts",
|
2022-05-17 09:42:04 -07:00
|
|
|
"scripts": {
|
2022-06-17 22:43:18 -07:00
|
|
|
"docgen": "typedoc --entryPoints src/index.ts --out ../../website/static/api/ts",
|
2022-09-01 12:09:53 -07:00
|
|
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
|
|
"build:esm": "tsc",
|
|
|
|
"build": "yarn build:cjs && yarn build:esm",
|
2022-06-17 22:43:18 -07:00
|
|
|
"watch": "tsc -p tsconfig.cjs.json --watch",
|
2022-08-10 11:23:38 -07:00
|
|
|
"test": "ts-mocha -p ./tsconfig.cjs.json --require ts-node/register -t 1000000 ./tests/*.tests.ts",
|
2022-05-27 09:48:25 -07:00
|
|
|
"lint": "eslint --fix-dry-run --ext .ts src/**/*.ts",
|
2022-06-17 22:43:18 -07:00
|
|
|
"prepublish": "shx rm -rf lib && yarn build"
|
2022-05-17 09:42:04 -07:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"@solana/spl-governance": "^0.0.34",
|
2022-06-27 21:56:47 -07:00
|
|
|
"@solana/web3.js": "^1.44.3"
|
2022-05-17 09:42:04 -07:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@project-serum/anchor": "^0.24.2",
|
|
|
|
"@solana/spl-governance": "^0.0.34",
|
2022-08-03 14:36:38 -07:00
|
|
|
"@solana/spl-token-v2": "npm:@solana/spl-token@^0.2.0",
|
2022-06-27 21:56:47 -07:00
|
|
|
"@solana/web3.js": "^1.44.3",
|
2022-09-01 12:09:53 -07:00
|
|
|
"@switchboard-xyz/common": "^2.0.0",
|
2022-05-17 09:42:04 -07:00
|
|
|
"assert": "^2.0.0",
|
2022-06-27 21:56:47 -07:00
|
|
|
"big.js": "^6.2.0",
|
2022-07-29 09:16:22 -07:00
|
|
|
"bs58": "^5.0.0",
|
2022-05-17 09:42:04 -07:00
|
|
|
"chan": "^0.6.1",
|
|
|
|
"crypto-js": "^4.0.0",
|
2022-06-27 21:56:47 -07:00
|
|
|
"glob": "^8.0.3",
|
2022-05-17 09:42:04 -07:00
|
|
|
"long": "^4.0.0",
|
2022-05-26 16:50:04 -07:00
|
|
|
"mocha": "^9.1.1",
|
2022-09-01 12:09:53 -07:00
|
|
|
"node-fetch": "^3.2.6"
|
2022-05-17 09:42:04 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-27 21:56:47 -07:00
|
|
|
"@types/big.js": "^6.1.4",
|
2022-05-17 09:42:04 -07:00
|
|
|
"@types/long": "^4.0.1",
|
|
|
|
"@types/mocha": "^9.0.0",
|
2022-07-01 15:40:18 -07:00
|
|
|
"@types/node": "^17.0.45",
|
2022-05-17 09:42:04 -07:00
|
|
|
"shx": "^0.3.4",
|
2022-08-10 11:23:38 -07:00
|
|
|
"ts-mocha": "^9.0.2",
|
2022-07-22 12:01:20 -07:00
|
|
|
"typedoc": "^0.23.8",
|
2022-06-16 09:48:26 -07:00
|
|
|
"typescript": "^4.7"
|
2022-05-17 09:42:04 -07:00
|
|
|
}
|
|
|
|
}
|