151 lines
4.9 KiB
JSON
151 lines
4.9 KiB
JSON
{
|
|
"name": "@switchboard-xyz/switchboardv2-cli",
|
|
"version": "0.2.10",
|
|
"description": "command line tool to interact with switchboard v2",
|
|
"author": "gallynaut @gallynaut",
|
|
"bin": {
|
|
"sbv2": "./bin/run"
|
|
},
|
|
"homepage": "https://docs.switchboard.xyz",
|
|
"main": "dist/index.js",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/switchboard-xyz/switchboard-v2",
|
|
"directory": "cli"
|
|
},
|
|
"bugs": "https://github.com/switchboard-xyz/switchboard-v2/tree/main/cli/issues",
|
|
"files": [
|
|
"/bin",
|
|
"/dist",
|
|
"/npm-shrinkwrap.json",
|
|
"/oclif.manifest.json"
|
|
],
|
|
"dependencies": {
|
|
"@google-cloud/secret-manager": "^3.10.1",
|
|
"@oclif/core": "^1",
|
|
"@oclif/parser": "^3.8.7",
|
|
"@oclif/plugin-help": "^5.1.12",
|
|
"@oclif/plugin-plugins": "^2.0.1",
|
|
"@oclif/plugin-update": "^3.0.0",
|
|
"@oclif/plugin-version": "^1.0.4",
|
|
"@oclif/plugin-warn-if-update-available": "^2.0.4",
|
|
"@project-serum/anchor": "^0.24.2",
|
|
"@solana/spl-token": "^0.2.0",
|
|
"@solana/web3.js": "^1.43.5",
|
|
"@switchboard-xyz/sbv2-utils": "^0.1.28",
|
|
"@switchboard-xyz/switchboard-v2": "^0.0.116",
|
|
"assert": "^2.0.0",
|
|
"big.js": "^6.2.0",
|
|
"bs58": "^5.0.0",
|
|
"chalk": "4",
|
|
"node-fetch": "^2.6.6",
|
|
"winston": "^3.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@oclif/test": "^2",
|
|
"@types/chai": "^4",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/node": "^16.9.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
"@typescript-eslint/parser": "^5.5.0",
|
|
"aws-sdk": "^2.1116.0",
|
|
"chai": "^4",
|
|
"eslint": "^8.3.0",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-config-oclif": "^3.1.0",
|
|
"eslint-config-oclif-typescript": "^1.0.2",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.25.3",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-unicorn": "^39.0.0",
|
|
"globby": "^11",
|
|
"mocha": "^9",
|
|
"oclif": "^3",
|
|
"shx": "^0.3.3",
|
|
"ts-node": "^10.2.1",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "^4.4.3"
|
|
},
|
|
"oclif": {
|
|
"additionalHelpFlags": [
|
|
"-h"
|
|
],
|
|
"commands": "./dist/commands",
|
|
"bin": "sbv2",
|
|
"dirname": "@switchboard-xyz/sbv2-cli",
|
|
"topicSeparator": " ",
|
|
"macos": {
|
|
"identifier": "com.sbv2.cli"
|
|
},
|
|
"plugins": [
|
|
"@oclif/plugin-update",
|
|
"@oclif/plugin-help",
|
|
"@oclif/plugin-version",
|
|
"@oclif/plugin-warn-if-update-available"
|
|
],
|
|
"update": {
|
|
"s3": {
|
|
"bucket": "sbv2-cli",
|
|
"templates": {
|
|
"target": {
|
|
"unversioned": "tarballs/<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
|
|
"versioned": "tarballs/<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-v<%- version %>/<%- bin %>-v<%- version %>-<%- platform %>-<%- arch %><%- ext %>",
|
|
"manifest": "tarballs/<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- platform %>-<%- arch %>"
|
|
},
|
|
"vanilla": {
|
|
"unversioned": "tarballs/<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %><%- ext %>",
|
|
"versioned": "tarballs/<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-v<%- version %>/<%- bin %>-v<%- version %><%- ext %>",
|
|
"manifest": "tarballs/<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>version"
|
|
}
|
|
}
|
|
},
|
|
"node": {
|
|
"version": "16.14.2"
|
|
}
|
|
},
|
|
"topics": {
|
|
"aggregator": {
|
|
"description": "interact with a switchboard aggregator account"
|
|
},
|
|
"lease": {
|
|
"description": "interact with a switchboard lease account"
|
|
},
|
|
"crank": {
|
|
"description": "interact with a switchboard crank account"
|
|
},
|
|
"queue": {
|
|
"description": "interact with a switchboard oracle queue account"
|
|
},
|
|
"job": {
|
|
"description": "interact with a switchboard job account"
|
|
},
|
|
"oracle": {
|
|
"description": "interact with a switchboard oracle account"
|
|
},
|
|
"print": {
|
|
"description": "find and print a switchboard account by public key for a given cluster"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "shx rm -rf dist && tsc -p tsconfig.build.json",
|
|
"watch": "tsc -p tsconfig.build.json --watch",
|
|
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
"lint:fix": "eslint . --ext .ts --config .eslintrc --fix",
|
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
"posttest": "yarn lint",
|
|
"prepack": "yarn build && oclif manifest && oclif readme",
|
|
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
"version": "oclif readme && git add README.md",
|
|
"fmt": "prettier --write 'src/**/*.ts'"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"keywords": [
|
|
"oclif"
|
|
],
|
|
"types": "dist/index.d.ts"
|
|
}
|