2021-02-06 16:48:58 -08:00
|
|
|
{
|
2021-02-21 10:23:01 -08:00
|
|
|
"name": "@blockworks-foundation/mango-client",
|
2022-07-30 08:42:29 -07:00
|
|
|
"version": "2.2.1",
|
2021-02-21 10:23:01 -08:00
|
|
|
"description": "Library for interacting with Mango Markets' solana smart contracts.",
|
|
|
|
"repository": "blockworks-foundation/mango-client-ts",
|
2021-02-06 16:48:58 -08:00
|
|
|
"author": {
|
|
|
|
"name": "Blockworks Foundation",
|
|
|
|
"email": "hello@blockworks.foundation",
|
|
|
|
"url": "https://blockworks.foundation"
|
2021-02-17 09:35:45 -08:00
|
|
|
},
|
2021-02-06 16:48:58 -08:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"source": "src/index.js",
|
|
|
|
"types": "lib/index.d.ts",
|
|
|
|
"license": "MIT",
|
|
|
|
"engines": {
|
2021-03-15 03:49:01 -07:00
|
|
|
"node": ">=10"
|
2021-02-06 16:48:58 -08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-09-10 09:37:13 -07:00
|
|
|
"build": "tsc --project ./tsconfig.production.json",
|
2021-05-24 13:19:12 -07:00
|
|
|
"start": "ts-node src/tests.ts",
|
2021-02-06 16:48:58 -08:00
|
|
|
"clean": "rm -rf lib",
|
2021-09-10 09:20:45 -07:00
|
|
|
"prepare": "yarn clean && yarn build",
|
2021-02-06 16:48:58 -08:00
|
|
|
"shell": "node -e \"$(< shell)\" -i --experimental-repl-await",
|
2021-05-24 13:19:12 -07:00
|
|
|
"test": "mocha -r ts-node/register tests/Stateless.test.ts --timeout 0",
|
2021-02-06 16:48:58 -08:00
|
|
|
"test:build": "run-s build",
|
|
|
|
"test:lint": "eslint src",
|
|
|
|
"test:unit": "jest",
|
|
|
|
"test:watch": "jest --watch"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-15 03:49:01 -07:00
|
|
|
"@tsconfig/node10": "^1.0.0",
|
2021-02-06 16:48:58 -08:00
|
|
|
"@types/bn.js": "^4.11.6",
|
2021-05-24 13:15:46 -07:00
|
|
|
"@types/chai": "^4.2.17",
|
2021-02-06 16:48:58 -08:00
|
|
|
"@types/jest": "^26.0.9",
|
2021-05-24 10:30:37 -07:00
|
|
|
"@types/mocha": "^8.2.2",
|
2021-02-06 16:48:58 -08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.6.0",
|
|
|
|
"@typescript-eslint/parser": "^4.6.0",
|
|
|
|
"babel-eslint": "^10.0.3",
|
2021-05-24 13:15:46 -07:00
|
|
|
"chai": "^4.3.4",
|
2021-02-06 16:48:58 -08:00
|
|
|
"cross-env": "^7.0.2",
|
|
|
|
"eslint": "^7.6.0",
|
|
|
|
"eslint-config-prettier": "^6.11.0",
|
|
|
|
"jest": "^26.6.3",
|
2021-05-24 13:15:46 -07:00
|
|
|
"mocha": "^8.3.2",
|
2021-02-06 16:48:58 -08:00
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"prettier": "^2.0.5",
|
|
|
|
"ts-jest": "^26.2.0",
|
|
|
|
"ts-node": "^9.1.1",
|
2021-02-09 13:05:26 -08:00
|
|
|
"typescript": "^4.1.3"
|
2021-02-06 16:48:58 -08:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib"
|
|
|
|
],
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
2021-02-22 14:08:07 -08:00
|
|
|
"trailingComma": "all"
|
2021-02-06 16:48:58 -08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-07-30 08:41:50 -07:00
|
|
|
"@project-serum/serum": "^0.13.65",
|
|
|
|
"@project-serum/sol-wallet-adapter": "^0.2.6",
|
2022-07-26 13:11:20 -07:00
|
|
|
"@pythnetwork/client": "^2.7.2",
|
2022-07-30 08:41:50 -07:00
|
|
|
"@solana/spl-token": "^0.1.6",
|
|
|
|
"@solana/web3.js": "^1.30.2",
|
|
|
|
"borsh": "https://github.com/defactojob/borsh-js#field-mapper"
|
2021-02-06 16:48:58 -08:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all",
|
|
|
|
"maintained node versions"
|
|
|
|
]
|
|
|
|
}
|