forked from marinade-finance/marinade-ts-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.9 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
{
"name": "@marinade.finance/marinade-ts-sdk",
"version": "2.0.9",
"description": "Marinade SDK for Typescript",
"main": "dist/src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/marinade-finance/marinade-ts-sdk.git"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"type": "commonjs",
"scripts": {
"build": "rm -fr dist; npx tsc -b -verbose; npx webpack",
"pretest": "npm run lint",
"test": "npm run test:unit",
"test:unit": "jest --preset ts-jest --roots '<rootDir>/src'",
"test:integration": "jest --preset ts-jest --testTimeout 90000 --runInBand --roots '<rootDir>/test'",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --ext .ts --fix",
"gen:idl:marinade-finance": "./scripts/idl2ts.js < ./src/programs/idl/marinade-finance-idl.json > ./src/programs/idl/marinade-finance-idl.ts",
"gen:idl:marinade-referral": "./scripts/idl2ts.js < ./src/programs/idl/marinade-referral-idl.json > ./src/programs/idl/marinade-referral-idl.ts",
"gen:idl": "npm run gen:idl:marinade-finance && npm run gen:idl:marinade-referral",
"prepack": "npm run test && npm run build"
},
"keywords": [
"solana",
"marinade.finance",
"blockchain",
"staking"
],
"license": "ISC",
"dependencies": {
"@project-serum/anchor": "^0.18.2",
"@solana/spl-token": "^0.1.8",
"borsh": "^0.6.0"
},
"devDependencies": {
"@types/bn.js": "^4.11.6",
"@types/jest": "^27.0.3",
"@types/node": "^14.14.11",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"eslint": "^8.3.0",
"jest": "^27.3.1",
"jest-each": "^27.3.1",
"node-polyfill-webpack-plugin": "^1.1.4",
"terser-webpack-plugin": "^5.3.0",
"ts-jest": "^27.0.7",
"ts-loader": "^9.2.6",
"typescript": "^4.5.2",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2"
}
}