72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"name": "@mango/client",
|
|
"version": "0.1.0",
|
|
"description": "Library for interacting with Mango Margin solana smart contracts.",
|
|
"repository": "blockworks-foundation/mango",
|
|
"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",
|
|
"start": "ts-node src/index.ts",
|
|
"clean": "rm -rf lib",
|
|
"prepare": "run-s clean build",
|
|
"shell": "node -e \"$(< shell)\" -i --experimental-repl-await",
|
|
"test": "run-s test:unit test:lint test:build",
|
|
"test:build": "run-s build",
|
|
"test:lint": "eslint src",
|
|
"test:unit": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/node14": "^1.0.0",
|
|
"@types/bn.js": "^4.11.6",
|
|
"@types/chai": "^4.2.14",
|
|
"@types/jest": "^26.0.9",
|
|
"@types/mocha": "^8.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.6.0",
|
|
"@typescript-eslint/parser": "^4.6.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"chai": "^4.2.0",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^7.6.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"jest": "^26.6.3",
|
|
"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.20",
|
|
"@project-serum/sol-wallet-adapter": "^0.1.4",
|
|
"@solana/web3.js": "^0.90.0",
|
|
"bn.js": "^5.1.2",
|
|
"buffer-layout": "^1.2.0",
|
|
"solink": "git+ssh://git@github.com:blockworks-foundation/solana-flux-aggregator.git"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all",
|
|
"maintained node versions"
|
|
]
|
|
}
|