mango-client-v3/package.json

106 lines
3.6 KiB
JSON

{
"name": "@blockworks-foundation/mango-client",
"version": "3.6.20",
"description": "Client to interact with the Mango program on Solana",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"repository": "https://github.com/blockworks-foundation/mango-client-v3",
"author": {
"name": "Blockworks Foundation",
"email": "hello@blockworks.foundation",
"url": "https://blockworks.foundation"
},
"license": "MIT",
"scripts": {
"build": "tsc",
"build-docs": "yarn typedoc src/index.ts",
"cli": "ts-node src/cli/index.ts",
"checkMarginBaskets": "ts-node src/scripts/checkMarginBaskets.ts",
"clean": "rm -rf lib",
"prepare": "yarn clean && yarn build",
"type-check": "tsc --pretty --noEmit",
"format": "prettier --check .",
"lint": "eslint . --ext ts --ext tsx --ext js --quiet",
"shell": "node -e \"$(< shell)\" -i --experimental-repl-await",
"keeper": "ts-node src/scripts/keeper.ts",
"crank": "ts-node src/scripts/crank.ts",
"scratch": "ts-node src/scripts/scratch.ts",
"mm": "ts-node src/scripts/mm.ts",
"create-accounts": "ts-node src/scripts/testnet/createAccounts.ts",
"clone-group": "ts-node src/scripts/testnet/cloneGroup.ts",
"dust": "ts-node src/scripts/dust.ts",
"example-mango-logs": "ts-node examples/mangoLogs.ts",
"example-fetch-stats": "ts-node examples/fetchStats.ts",
"example-register-ref-id": "ts-node examples/registerRefId.ts",
"test-compute": "ts-node test/compute.test.ts",
"test-fillbook": "ts-node test/fillbook.test.ts",
"test-liquidator": "ts-node test/liquidator.test.ts",
"test-accounts": "ts-node test/accounts.test.ts",
"test-stoploss": "ts-node test/stoploss.test.ts",
"test-closeaccount": "ts-node test/closeaccount.test.ts",
"test-cancelside": "ts-node test/cancelside.test.ts",
"test-cancelallspotorders": "ts-node test/cancelallspotorders.test.ts",
"mint-devnet": "ts-node src/mintDevnet.ts",
"create-group": "ts-node src/scripts/testnet/createGroup.ts",
"test": "mocha -r ts-node/register test/**/*.test.ts --timeout 0",
"test:build": "yarn build && yarn",
"test:lint": "eslint src",
"heroku-postbuild": "npm run build"
},
"devDependencies": {
"@pythnetwork/client": "^2.7.0",
"@tsconfig/recommended": "^1.0.1",
"@types/big.js": "^6.1.1",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.2.14",
"@types/jest": "^26.0.9",
"@types/mocha": "^8.2.0",
"@types/node": "^15.12.4",
"@types/yargs": "latest",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"chai": "^4.3.4",
"cross-env": "^7.0.2",
"eslint": "^7.28.0",
"eslint-config-prettier": "^7.2.0",
"mango_risk_check": "^1.2.1",
"mocha": "9",
"prettier": "^2.0.5",
"ts-node": "^9.1.1",
"typedoc": "^0.22.5",
"typescript": "^4.6.3"
},
"files": [
"lib"
],
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"dependencies": {
"@project-serum/anchor": "^0.21.0",
"@project-serum/serum": "^0.13.65",
"@project-serum/sol-wallet-adapter": "^0.2.0",
"@solana/spl-token": "^0.1.6",
"@solana/web3.js": "^1.43.5",
"big.js": "^6.1.1",
"bn.js": "^5.1.0",
"buffer-layout": "^1.2.1",
"cross-fetch": "^3.1.5",
"dotenv": "^10.0.0",
"toformat": "^2.0.0",
"yargs": "^17.0.1"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"maintained node versions"
],
"resolutions": {
"bn.js": "5.1.3",
"@types/bn.js": "5.1.0",
"@solana/web3.js": "1.43.5"
}
}