80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"name": "@blockworks-foundation/mango-v4",
|
|
"version": "0.0.1-beta.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"
|
|
},
|
|
"main": "dist/cjs/src/index.js",
|
|
"module": "dist/esm/src/index.js",
|
|
"types": "dist/types/src/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:esm; npm run build:cjs",
|
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
"test": "ts-mocha ts/client/**/*.spec.ts --timeout 10000",
|
|
"clean": "rm -rf dist",
|
|
"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 --ext ts --ext tsx --ext js --quiet",
|
|
"typecheck": "tsc --noEmit --pretty",
|
|
"prepare": "npm run build",
|
|
"prebuild": "npm run clean",
|
|
"prepublishOnly": "npm run validate && npm run build",
|
|
"validate": "npm run typecheck && npm run lint && npm run format"
|
|
},
|
|
"devDependencies": {
|
|
"@jup-ag/core": "^1.0.0-beta.28",
|
|
"@tsconfig/recommended": "^1.0.1",
|
|
"@types/bs58": "^4.0.1",
|
|
"@types/chai": "^4.3.0",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/node": "^14.14.37",
|
|
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
|
"@typescript-eslint/parser": "^5.32.0",
|
|
"binance-api-node": "^0.12.0",
|
|
"chai": "^4.3.4",
|
|
"cross-fetch": "^3.1.5",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "^7.28.0",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"ftx-api": "^1.1.13",
|
|
"mocha": "^9.1.3",
|
|
"node-kraken-api": "^2.2.2",
|
|
"prettier": "^2.0.5",
|
|
"ts-mocha": "^10.0.0",
|
|
"ts-node": "^9.1.1",
|
|
"typedoc": "^0.22.5",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "all"
|
|
},
|
|
"dependencies": {
|
|
"@project-serum/anchor": "^0.25.0",
|
|
"@project-serum/serum": "^0.13.65",
|
|
"@pythnetwork/client": "^2.7.0",
|
|
"@solana/spl-token": "0.2.0",
|
|
"@solana/web3.js": "^1.63.1",
|
|
"@switchboard-xyz/sbv2-lite": "^0.1.6",
|
|
"big.js": "^6.1.1",
|
|
"bs58": "^5.0.0"
|
|
},
|
|
"resolutions": {
|
|
"@project-serum/anchor/@solana/web3.js": "1.63.1"
|
|
},
|
|
"license": "MIT"
|
|
}
|