-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.41 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.41 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
{
"name": "@formfunction-hq/campaign-treasury-manager",
"version": "0.0.0",
"description": "Campaign treasury manager program client SDK.",
"repository": "https://github.com/formfunction-hq/campaign-treasury-manager",
"license": "UNLICENSED",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"@formfunction-hq:registry": "https://npm.pkg.github.com"
},
"scripts": {
"prepare": "husky install",
"setup": "yarn build && cp artifacts/mpl_token_metadata.so target/deploy",
"prettier": "prettier --check \"src/**/*.ts\"",
"eslint": "eslint --cache 'src/**/*.ts'",
"lint": "yarn prettier --write && yarn eslint --fix",
"clippy": "cargo clippy",
"build-program": "anchor build",
"build-program-test": "anchor build -- --features \"use-test-env\"",
"tsc": "tsc",
"build-sdk": "tsc -P tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"build": "yarn build-program && ./scripts/setup-idl.sh && yarn build-sdk",
"test-unit": "jest src/tests/unit/*.test.ts",
"test-cargo": "cargo test",
"test-cargo-debug": "cargo test -- --nocapture",
"test-program": "yarn build-program-test && anchor test --skip-build",
"test-program-debug": "yarn build-program-test && DEBUG=true anchor test --skip-build",
"test-sdk": "jest",
"test": "yarn test-unit && yarn test-cargo && yarn test-program",
"logs": "cat .anchor/program-logs/Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS.campaign_treasury_manager.log",
"deploy-program": "./scripts/deploy-program.sh",
"example-script": "ts-node -r tsconfig-paths/register src/scripts/exampleScript.ts",
"publish-crate": "cargo publish --registry formfunction-hq --package campaign-treasury-manager --token w/F4CbdycogTRazaHIto22Hr4RFFyvAj8b3abiz+PFx30o7gV3PKeZ9T3/WrmACcup8=",
"modify-program-idl": "ts-node -r tsconfig-paths/register -T src/scripts/modifyProgramIdl.ts",
"lint-program-idl": "ts-node -r tsconfig-paths/register src/scripts/lintProgramIdl.ts",
"dump": "./scripts/solana-program-dump.sh"
},
"dependencies": {
"@formfunction-hq/formfunction-program-shared": "0.0.58",
"@solana/spl-token": "^0.3.7",
"bn.js": "^5.2.0",
"dayjs": "^1.11.6",
"tiny-invariant": "^1.2.0"
},
"peerDependencies": {
"@metaplex-foundation/mpl-token-metadata": "^2.7.0",
"@project-serum/anchor": "^0.26.0",
"@solana/web3.js": "^1.73.0"
},
"devDependencies": {
"@metaplex-foundation/mpl-token-metadata": "^2.7.0",
"@project-serum/anchor": "^0.26.0",
"@solana/web3.js": "^1.73.0",
"@types/bluebird": "^3.5.36",
"@types/bn.js": "^5.1.1",
"@types/jest": "^29.2.4",
"@types/node": "^18.7.14",
"@types/uuid": "^9.0.0",
"@types/yargs": "^17.0.12",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"bluebird": "^3.7.2",
"esbuild-runner": "^2.2.1",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^2.1.0",
"husky": "^8.0.1",
"jest": "29.3.1",
"npm": "^8.19.2",
"prettier": "^2.7.1",
"ts-jest": "29.0.3",
"ts-node": "^10.9.1",
"tsc-alias": "^1.7.0",
"typescript": "^4.6.2",
"uuid": "^9.0.0",
"yargs": "^17.5.1"
}
}