2022-02-23 02:09:17 -08:00
|
|
|
{
|
2022-05-02 09:23:58 -07:00
|
|
|
"name": "@blockworks-foundation/mango-v4",
|
2022-08-04 11:46:16 -07:00
|
|
|
"version": "0.0.1-beta.1",
|
2022-02-23 02:09:17 -08:00
|
|
|
"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"
|
|
|
|
},
|
2022-06-21 03:38:01 -07:00
|
|
|
"main": "dist/cjs/src/index.js",
|
2022-06-30 10:17:10 -07:00
|
|
|
"module": "dist/esm/src/index.js",
|
2022-06-21 03:38:01 -07:00
|
|
|
"types": "dist/types/src/index.d.ts",
|
2022-06-10 06:02:03 -07:00
|
|
|
"sideEffects": false,
|
2022-05-02 09:23:58 -07:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-06-10 06:02:03 -07:00
|
|
|
"scripts": {
|
2022-06-30 10:17:10 -07:00
|
|
|
"build": "npm run build:esm; npm run build:cjs",
|
2022-06-10 06:02:03 -07:00
|
|
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
2022-06-30 10:17:10 -07:00
|
|
|
"build:esm": "tsc -p tsconfig.esm.json",
|
2022-06-10 06:02:03 -07:00
|
|
|
"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",
|
|
|
|
"scratch": "ts-node ts/client/src/scripts/scratch/scratch.ts",
|
2022-08-04 11:13:46 -07:00
|
|
|
"format": "prettier --check ./ts",
|
2022-08-04 10:42:41 -07:00
|
|
|
"lint": "eslint ./ts --ext ts --ext tsx --ext js --quiet",
|
2022-06-10 06:02:03 -07:00
|
|
|
"typecheck": "tsc --noEmit --pretty",
|
2022-06-30 10:32:55 -07:00
|
|
|
"prepare": "yarn build",
|
2022-06-10 06:02:03 -07:00
|
|
|
"prebuild": "npm run clean",
|
|
|
|
"prepublishOnly": "npm run validate && npm run build",
|
2022-08-04 11:13:46 -07:00
|
|
|
"validate": "npm run typecheck && npm run lint && npm run format"
|
2022-06-10 06:02:03 -07:00
|
|
|
},
|
2022-02-23 02:09:17 -08:00
|
|
|
"devDependencies": {
|
2022-07-05 20:38:53 -07:00
|
|
|
"@jup-ag/core": "^1.0.0-beta.28",
|
2022-02-23 02:09:17 -08:00
|
|
|
"@tsconfig/recommended": "^1.0.1",
|
2022-05-24 12:08:01 -07:00
|
|
|
"@types/bs58": "^4.0.1",
|
2022-03-31 00:10:06 -07:00
|
|
|
"@types/chai": "^4.3.0",
|
|
|
|
"@types/mocha": "^9.1.0",
|
|
|
|
"@types/node": "^14.14.37",
|
2022-08-04 10:42:41 -07:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
|
|
|
"@typescript-eslint/parser": "^5.32.0",
|
2022-03-31 00:10:06 -07:00
|
|
|
"chai": "^4.3.4",
|
|
|
|
"eslint": "^7.28.0",
|
2022-04-03 22:20:46 -07:00
|
|
|
"eslint-config-prettier": "^7.2.0",
|
2022-03-31 00:10:06 -07:00
|
|
|
"mocha": "^9.1.3",
|
2022-02-23 02:09:17 -08:00
|
|
|
"prettier": "^2.0.5",
|
2022-08-03 09:05:16 -07:00
|
|
|
"ts-mocha": "^10.0.0",
|
2022-02-23 02:09:17 -08:00
|
|
|
"ts-node": "^9.1.1",
|
|
|
|
"typedoc": "^0.22.5",
|
2022-03-31 00:10:06 -07:00
|
|
|
"typescript": "^4.4.4"
|
2022-02-23 02:09:17 -08:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-07-26 08:14:07 -07:00
|
|
|
"@project-serum/anchor": "^0.25.0",
|
2022-05-18 08:16:14 -07:00
|
|
|
"@project-serum/serum": "^0.13.65",
|
2022-06-21 10:14:18 -07:00
|
|
|
"@pythnetwork/client": "^2.7.0",
|
2022-06-24 07:41:04 -07:00
|
|
|
"@solana/spl-token": "^0.1.8",
|
2022-03-31 23:59:39 -07:00
|
|
|
"big.js": "^6.1.1",
|
|
|
|
"bs58": "^5.0.0"
|
2022-02-23 02:09:17 -08:00
|
|
|
},
|
2022-06-10 06:02:03 -07:00
|
|
|
"peerDependencies": {
|
|
|
|
"@solana/spl-token-swap": "^0.2.0"
|
|
|
|
},
|
2022-02-23 02:09:17 -08:00
|
|
|
"license": "MIT"
|
|
|
|
}
|