75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
{
|
|
"name": "@blockworks-foundation/mango-client",
|
|
"version": "1.0.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": "run-s clean 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/common": "^0.0.1-beta.3",
|
|
"@project-serum/serum": "^0.13.20",
|
|
"@project-serum/sol-wallet-adapter": "^0.1.4",
|
|
"@solana/spl-token": "0.0.13",
|
|
"@solana/web3.js": "^0.95.0",
|
|
"bn.js": "^5.1.2",
|
|
"borsh": "https://github.com/defactojob/borsh-js#field-mapper",
|
|
"buffer-layout": "^1.2.0"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all",
|
|
"maintained node versions"
|
|
]
|
|
}
|