-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
56 lines (56 loc) · 2.9 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
{
"description": "Marinade typescript-based SDK for CLI",
"license": "ISC",
"author": "Marinade.Finance",
"scripts": {
"compile": "npx tsc -b -verbose",
"_copy-readme": "cp packages/lib/anchor-common/*.md build/packages/lib/anchor-common/ && cp packages/lib/cli-common/*.md build/packages/lib/cli-common/ && cp packages/lib/jest-utils/*.md build/packages/lib/jest-utils/ && cp packages/lib/spl-gov-utils/*.md build/packages/lib/spl-gov-utils/ && cp packages/lib/web3js-common/*.md build/packages/lib/web3js-common/ && cp packages/lib/umi-utils/*.md build/packages/lib/umi-utils/ && cp packages/lib/bankrun-utils/*.md build/packages/lib/bankrun-utils/ && cp packages/marinade-ts-cli/*.md build/packages/marinade-ts-cli/",
"build": "pnpm compile && pnpm _copy-readme",
"marinade": "pnpm cli",
"cli": "ts-node ./packages/marinade-ts-cli/src/index.ts",
"lint:fix": "gts fix",
"lint": "gts lint",
"test": "anchor test",
"_test": "jest $FILE",
"test:no-anchor": "jest --globalSetup='' $FILE",
"publish:ts-common": "pnpm build && pnpm publish build/packages/lib/ts-common",
"publish:web3js-common": "pnpm build && pnpm publish build/packages/lib/web3js-common",
"publish:umi-utils": "pnpm build && pnpm publish build/packages/lib/umi-utils",
"publish:bankrun-utils": "pnpm build && pnpm publish build/packages/lib/bankrun-utils",
"publish:cli-common": "pnpm build && pnpm publish build/packages/lib/cli-common",
"publish:anchor-common": "pnpm build && pnpm publish build/packages/lib/anchor-common",
"publish:jest-utils": "pnpm build && pnpm publish build/packages/lib/jest-utils",
"publish:spl-gov-utils": "pnpm build && pnpm publish build/packages/lib/spl-gov-utils",
"publish:marinade-ts-cli": "pnpm build && pnpm publish build/packages/marinade-ts-cli",
"publish:libs": "pnpm publish:ts-common && pnpm publish:web3js-common && pnpm publish:umi-utils && pnpm publish:bankrun-utils && pnpm publish:cli-common && pnpm publish:anchor-common && pnpm publish:jest-utils && pnpm publish:spl-gov-utils",
"publish:all": "pnpm publish:libs && pnpm publish:marinade-ts-cli"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.24",
"@types/bn.js": "^5.1.5",
"bigint-buffer": "^1.1.5",
"gts": "^5.3.0",
"eslint": "8.1.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"ts-jest": "^29.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=16.0.0"
},
"lint-staged": {
"src/**/*.ts": [
"gts lint"
]
},
"husky": {
"hooks": {
"commit-msg": "[[ -n $HUSKY_BYPASS ]] || commitlint -E HUSKY_GIT_PARAMS"
}
}
}