101 lines
3.4 KiB
JSON
101 lines
3.4 KiB
JSON
{
|
|
"name": "@blockworks-foundation/mango-v4",
|
|
"version": "0.33.6",
|
|
"description": "Typescript Client for mango-v4 program.",
|
|
"repository": "https://github.com/blockworks-foundation/mango-v4",
|
|
"author": {
|
|
"name": "Blockworks Foundation",
|
|
"email": "hello@blockworks.foundation",
|
|
"url": "https://blockworks.foundation"
|
|
},
|
|
"sideEffects": false,
|
|
"main": "./dist/cjs/src/index.js",
|
|
"module": "./dist/esm/src/index.js",
|
|
"types": "./dist/types/src/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "rm -rf dist && yarn build:browser && yarn build:node && yarn build:types",
|
|
"build:node": " tsc -p tsconfig.cjs.json --noEmit false",
|
|
"build:browser": "tsc -p tsconfig.esm.json --noEmit false",
|
|
"build:types": "tsc -p tsconfig.types.json --noEmit false",
|
|
"test": "ts-mocha ts/client/**/*.spec.ts --timeout 300000 --project tsconfig.cjs.json",
|
|
"example1-user": "ts-node ts/client/src/scripts/example1-user.ts",
|
|
"example1-admin": "ts-node ts/client/src/scripts/example1-admin.ts",
|
|
"format": "prettier --check ./ts",
|
|
"lint": "eslint ./ts/client/src",
|
|
"typecheck": "tsc --noEmit --pretty",
|
|
"prepublishOnly": "yarn validate && yarn build",
|
|
"deduplicate": "npx yarn-deduplicate --list --fail",
|
|
"validate": "yarn format"
|
|
},
|
|
"devDependencies": {
|
|
"@solana/spl-governance": "^0.3.25",
|
|
"@tsconfig/recommended": "^1.0.1",
|
|
"@types/bn.js": "^5.1.1",
|
|
"@types/bs58": "^4.0.1",
|
|
"@types/chai": "^4.3.0",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/node": "^18.11.18",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
|
"@typescript-eslint/parser": "^8.0.1",
|
|
"axios": "^1.4.0",
|
|
"chai": "^4.3.4",
|
|
"cli-table3": "^0.6.3",
|
|
"console-table-printer": "^2.11.1",
|
|
"eslint": "^9.9.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"fast-csv": "^4.3.6",
|
|
"js-sha3": "0.9.2",
|
|
"mocha": "^9.1.3",
|
|
"prettier": "^3.3.3",
|
|
"secp256k1": "5.0.0",
|
|
"ts-mocha": "^10.0.0",
|
|
"ts-node": "^10.9.1",
|
|
"tsx": "^4.15.7",
|
|
"tweetnacl": "1.0.3",
|
|
"typedoc": "^0.26.5",
|
|
"typescript": "^5.5.4",
|
|
"express": "^4.18.2",
|
|
"express-prom-bundle": "^8.0.0",
|
|
"prom-client": "^15.1.3"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "all"
|
|
},
|
|
"dependencies": {
|
|
"@blockworks-foundation/mango-v4-settings": "0.14.24",
|
|
"@blockworks-foundation/mangolana": "0.1.2",
|
|
"@coral-xyz/anchor": "^0.29.0",
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@eslint/js": "^9.8.0",
|
|
"@iarna/toml": "2.2.5",
|
|
"@project-serum/serum": "0.13.65",
|
|
"@pythnetwork/client": "~2.21.1",
|
|
"@raydium-io/raydium-sdk": "^1.3.1-beta.57",
|
|
"@solana/spl-token": "0.4.8",
|
|
"@solana/web3.js": "^1.95.2",
|
|
"@switchboard-xyz/common": "^2.4.4",
|
|
"@switchboard-xyz/on-demand": "^1.2.51",
|
|
"@switchboard-xyz/sbv2-lite": "^0.1.6",
|
|
"@switchboard-xyz/solana.js": "^3.2.5",
|
|
"big.js": "^6.1.1",
|
|
"binance-api-node": "^0.12.7",
|
|
"bs58": "^5.0.0",
|
|
"cross-fetch": "^3.1.5",
|
|
"dotenv": "^16.0.3",
|
|
"fast-copy": "^3.0.1",
|
|
"lodash": "^4.17.21",
|
|
"node-kraken-api": "^2.2.2",
|
|
"switchboard-anchor": "npm:@coral-xyz/anchor@0.30.1"
|
|
},
|
|
"resolutions": {
|
|
"**/@solana/web3.js/node-fetch": "npm:@blockworks-foundation/node-fetch@2.6.11",
|
|
"**/cross-fetch/node-fetch": "npm:@blockworks-foundation/node-fetch@2.6.11",
|
|
"**/@blockworks-foundation/mangolana/node-fetch": "npm:@blockworks-foundation/node-fetch@2.6.11",
|
|
"strip-ansi": "6.0.1"
|
|
},
|
|
"license": "MIT"
|
|
} |