mango-client-ts/package.json

75 lines
2.1 KiB
JSON

{
"name": "@blockworks-foundation/mango-client",
"version": "2.3.0",
"description": "Library for interacting with Mango Markets' solana smart contracts.",
"repository": "blockworks-foundation/mango-client-ts",
"author": {
"name": "Blockworks Foundation",
"email": "hello@blockworks.foundation",
"url": "https://blockworks.foundation"
},
"main": "lib/index.js",
"source": "src/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "tsc --project ./tsconfig.production.json",
"start": "ts-node src/tests.ts",
"clean": "rm -rf lib",
"prepare": "yarn clean && yarn build",
"shell": "node -e \"$(< shell)\" -i --experimental-repl-await",
"test": "mocha -r ts-node/register tests/Stateless.test.ts --timeout 0",
"test:build": "run-s build",
"test:lint": "eslint src",
"test:unit": "jest",
"test:watch": "jest --watch"
},
"devDependencies": {
"@tsconfig/node10": "^1.0.0",
"@types/bn.js": "^4.11.6",
"@types/chai": "^4.2.17",
"@types/jest": "^26.0.9",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"babel-eslint": "^10.0.3",
"chai": "^4.3.4",
"cross-env": "^7.0.2",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"jest": "^26.6.3",
"mocha": "^8.3.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"ts-jest": "^26.2.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"files": [
"lib"
],
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"dependencies": {
"@project-serum/serum": "^0.13.65",
"@project-serum/sol-wallet-adapter": "^0.2.6",
"@pythnetwork/client": "^2.7.2",
"@solana/spl-token": "^0.1.6",
"@solana/web3.js": "^1.30.2",
"@switchboard-xyz/sbv2-lite": "^0.2.4",
"big.js": "^6.2.1",
"borsh": "https://github.com/defactojob/borsh-js#field-mapper"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"maintained node versions"
]
}