sbv2-solana/javascript/switchboard-v2/package.json

66 lines
1.8 KiB
JSON

{
"name": "@switchboard-xyz/switchboard-v2",
"version": "0.0.173",
"license": "MIT",
"author": "mitch@switchboard.xyz",
"description": "API wrapper for intergating with the Switchboardv2 program",
"keywords": [
"oracle",
"solana",
"Defi"
],
"repository": {
"type": "git",
"url": "https://github.com/switchboard-xyz/sbv2-solana",
"directory": "javascript/switchboard-v2"
},
"homepage": "https://docs.switchboard.xyz",
"files": [
"lib",
"src",
"package.json"
],
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/cjs/index.d.ts",
"scripts": {
"docgen": "typedoc --entryPoints src/index.ts --out ../../website/static/api/ts",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc",
"build": "yarn build:cjs && yarn build:esm",
"watch": "tsc -p tsconfig.cjs.json --watch",
"test": "ts-mocha -p ./tsconfig.cjs.json --require ts-node/register -t 1000000 ./tests/*.tests.ts",
"lint": "eslint --fix-dry-run --ext .ts src/**/*.ts",
"prepublishOnly": "shx rm -rf lib && yarn build"
},
"peerDependencies": {
"@solana/spl-governance": "^0.0.34"
},
"dependencies": {
"@project-serum/anchor": "^0.25.0",
"@solana/spl-governance": "^0.0.34",
"@solana/spl-token-v3": "npm:@solana/spl-token@0.3.6",
"@solana/web3.js": "^1.66.2",
"@switchboard-xyz/common": "^2.1.7",
"big.js": "^6.2.1",
"lodash": "^4.17.21",
"mocha": "^9.1.1"
},
"devDependencies": {
"@types/big.js": "^6.1.6",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.45",
"shx": "^0.3.4",
"ts-mocha": "^9.0.2",
"typescript": "^4.7"
},
"gitHead": "9ee13d31a3577767061bd90f57fe4629b9a89e1a"
}