2022-05-17 09:42:04 -07:00
|
|
|
{
|
|
|
|
"name": "@switchboard-xyz/sbv2-utils",
|
2022-05-25 11:43:36 -07:00
|
|
|
"version": "0.1.13",
|
2022-05-17 09:42:04 -07:00
|
|
|
"description": "some basic utility functions when working with switchboard-v2",
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/switchboard-xyz/switchboard-v2",
|
|
|
|
"directory": "libraries/sbv2-utils"
|
|
|
|
},
|
2022-05-25 11:38:29 -07:00
|
|
|
"homepage": "https://docs.switchboard.xyz",
|
2022-05-17 09:42:04 -07:00
|
|
|
"files": [
|
|
|
|
"./lib",
|
|
|
|
"./src"
|
|
|
|
],
|
|
|
|
"main": "lib/cjs/index.js",
|
|
|
|
"module": "lib/esm/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
2022-05-25 11:38:29 -07:00
|
|
|
"require": "./lib/cjs/index.js",
|
|
|
|
"import": "./lib/esm/index.js"
|
2022-05-17 09:42:04 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"docgen": "yarn build && npx typedoc",
|
|
|
|
"test": "echo \"No test script for @switchboard-xyz/sbv2-utils\" && exit 0",
|
2022-05-25 11:38:29 -07:00
|
|
|
"build:cjs": "shx rm -rf lib/cjs && tsc -p tsconfig.cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
|
|
|
|
"build:esm": "shx rm -rf lib/esm && tsc -p tsconfig.esm.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
|
|
|
"build": "shx rm -rf lib && yarn build:cjs && yarn build:esm",
|
|
|
|
"prepublishOnly": "yarn build"
|
2022-05-17 09:42:04 -07:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@orca-so/sdk": "^1.2.24",
|
|
|
|
"@project-serum/anchor": "^0.24.2",
|
|
|
|
"@saberhq/token-utils": "^1.12.68",
|
|
|
|
"@solana/spl-token": "^0.1.8",
|
2022-05-19 10:21:56 -07:00
|
|
|
"@solana/web3.js": "^1.42.0",
|
2022-05-25 11:43:36 -07:00
|
|
|
"@switchboard-xyz/switchboard-v2": "^0.0.98",
|
2022-05-17 09:42:04 -07:00
|
|
|
"big.js": "^6.1.1",
|
|
|
|
"chalk": "4",
|
|
|
|
"decimal.js": "^10.3.1",
|
|
|
|
"dotenv": "^16.0.0",
|
|
|
|
"toml": "^3.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/big.js": "^6.1.3",
|
|
|
|
"@types/node": "^17.0.25",
|
|
|
|
"shx": "^0.3.4",
|
|
|
|
"typedoc": "^0.22.13",
|
|
|
|
"typescript": "^4.6.3"
|
|
|
|
}
|
|
|
|
}
|