-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
94 lines (94 loc) · 2.49 KB
/
package.json
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
{
"name": "@marinade.finance/marinade-ts-sdk",
"version": "5.0.14",
"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",
"clean": "gts clean",
"prepare": "husky install",
"pretest": "pnpm lint",
"test": "pnpm test:unit",
"test:unit": "jest --roots '<rootDir>/src'",
"test:integration": "anchor test",
"_test:integration": "jest --testTimeout 90000 --runInBand --globalSetup '<rootDir>/test/setup/globalSetup.ts' --roots '<rootDir>/test' -- $FILE",
"lint": "gts lint",
"lint:fix": "gts fix",
"prepack": "pnpm test && pnpm build"
},
"keywords": [
"solana",
"marinade.finance",
"blockchain",
"staking"
],
"license": "ISC",
"dependencies": {
"@coral-xyz/anchor": "^0.28.0",
"@marinade.finance/directed-stake-sdk": "^0.1.0",
"@marinade.finance/native-staking-sdk": "^1.1.0",
"@solana/spl-stake-pool": "^0.6.5",
"@solana/spl-token-3.x": "npm:@solana/spl-token@^0.3.8",
"borsh": "^0.7.0",
"bs58": "^5.0.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@solana/web3.js": "^1.91.7",
"@types/bn.js": "^5.1.1",
"@types/bs58": "^4.0.1",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"bn.js": "^5.2.1",
"eslint": "^8.39.0",
"gts": "^3.1.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-each": "^29.5.0",
"jsbi": "^4.3.0",
"lint-staged": "^13.2.2",
"node-polyfill-webpack-plugin": "^2.0.1",
"terser-webpack-plugin": "^5.3.7",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"webpack": "^5.81.0",
"webpack-cli": "^5.0.2"
},
"engines": {
"node": ">=16.0.0",
"anchor": ">=0.28.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0",
"prettier --write"
],
"src/**/*.{json,css,scss,md}": [
"prettier --write"
],
"test/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0",
"prettier --write"
]
},
"husky": {
"hooks": {
"commit-msg": "[[ -n $HUSKY_BYPASS ]] || commitlint -E HUSKY_GIT_PARAMS"
}
}
}