-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.37 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@0dotxyz/p0-ts-sdk",
"version": "2.7.4",
"packageManager": "pnpm@10.32.1",
"description": "TypeScript SDK for P0 Protocol - A Solana DeFi lending protocol",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./vendor": {
"types": "./dist/vendor.d.ts",
"import": "./dist/vendor.js",
"require": "./dist/vendor.cjs"
},
"./jupiter": {
"types": "./dist/jupiter.d.ts",
"import": "./dist/jupiter.js",
"require": "./dist/jupiter.cjs"
},
"./instructions": {
"types": "./dist/instructions.d.ts",
"import": "./dist/instructions.js",
"require": "./dist/instructions.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"clean": "rimraf dist",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\"",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"example:swap-engine": "tsx examples/swap-engine.ts",
"example:mint-holders": "tsx examples/18-mint-holders.ts",
"docs": "typedoc",
"changeset": "changeset",
"version": "changeset version",
"release": "pnpm build && changeset publish",
"prepublishOnly": "pnpm build",
"prepack": "pnpm build"
},
"keywords": [
"solana",
"defi",
"lending",
"typescript",
"sdk",
"p0",
"blockchain",
"web3"
],
"author": "P0 Protocol",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/0dotxyz/p0-ts-sdk.git"
},
"bugs": {
"url": "https://github.com/0dotxyz/p0-ts-sdk/issues"
},
"homepage": "https://github.com/0dotxyz/p0-ts-sdk#readme",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@coral-xyz/anchor": "0.30.1",
"@coral-xyz/borsh": "0.30.1",
"@msgpack/msgpack": "^3.1.3",
"@solana/buffer-layout": "^4.0.1",
"@solana/buffer-layout-utils": "^0.3.0",
"@solana/web3.js": "1.98.4",
"@switchboard-xyz/common": "5.8.5",
"@switchboard-xyz/on-demand": "3.10.6",
"@types/ws": "^8.18.1",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
"buffer": "^6.0.3",
"borsh": "^2.0.0",
"bs58": "^6.0.0",
"decimal.js": "^10.5.0",
"superstruct": "^1.0.4",
"ws": "^8.20.0",
"yaml": "^2.8.3"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@types/big.js": "^6.2.2",
"@types/bn.js": "^5.1.5",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitest/coverage-v8": "^2.0.0",
"@vitest/ui": "^4.0.1",
"big.js": "^6.2.1",
"dotenv": "^17.2.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"tsx": "^4.21.0",
"typedoc": "^0.26.2",
"typescript": "^5.5.2",
"vitest": "^4.0.1",
"zod": "^3.23.8"
},
"publishConfig": {
"access": "public"
}
}