@ox-fun/drift-sdk
Version:
SDK for Drift Protocol
66 lines (65 loc) • 1.77 kB
JSON
{
"name": "@ox-fun/drift-sdk",
"version": "2.60.0-beta.6.0.0.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "crispheaney",
"scripts": {
"lint": "eslint './**/*.{ts,tsx}' --quiet",
"build": "yarn clean && tsc",
"clean": "rm -rf lib",
"test": "mocha -r ts-node/register tests/**/*.ts",
"test:inspect": "mocha --inspect-brk -r ts-node/register tests/**/*.ts",
"test:bignum": "mocha -r ts-node/register tests/bn/**/*.ts",
"patch-and-pub": "npm version patch --force && npm publish",
"prettify": "prettier --check './src/***/*.ts'",
"prettify:fix": "prettier --write './{src,tests}/***/*.ts'",
"version": "node ./scripts/updateVersion.js"
},
"keywords": [
"drift-labs",
"drift",
"perps"
],
"license": "Apache-2.0",
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@coral-xyz/anchor": "0.28.1-beta.2",
"@ellipsis-labs/phoenix-sdk": "^1.4.2",
"@project-serum/serum": "^0.13.38",
"@pythnetwork/client": "2.5.3",
"@solana/spl-token": "^0.3.7",
"@solana/web3.js": "1.73.2",
"strict-event-emitter-types": "^2.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"object-sizeof": "^2.6.3",
"@types/big.js": "^6.2.0",
"@types/bn.js": "^5.1.3",
"@types/chai": "^4.3.1",
"@types/jest": "^28.1.3",
"@types/mocha": "^9.1.1",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"chai": "^4.3.6",
"encoding": "^0.1.13",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"lodash": "^4.17.21",
"mocha": "^10.0.0",
"prettier": "^3.0.1",
"ts-node": "^10.8.0",
"typescript": "^4.9.5"
},
"description": "SDK for Drift Protocol",
"engines": {
"node": ">=12"
}
}