-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.84 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.84 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
{
"license": "MIT",
"scripts": {
"lint:rust:fix": "cargo fmt && cargo clippy --fix --allow-dirty --allow-staged",
"lint:rust": "cargo fmt -- --check && cargo clippy",
"lint:ts:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
"lint:ts": "prettier */*.js \"*/**/*{.js,.ts}\" --check",
"lint:fix": "yarn lint:ts:fix && yarn lint:rust:fix",
"lint": "yarn lint:ts && yarn lint:rust",
"test:all": "yarn build:all && RUST_LOG=error anchor test --skip-build && cargo test",
"test": "RUST_LOG=error anchor test",
"clean": "anchor clean",
"build:all": "cargo build-sbf && anchor build -p fusion-swap && anchor build -p whitelist",
"build": "anchor build",
"new": "anchor new",
"sync": "anchor keys sync",
"typecheck": "tsc --noEmit --skipLibCheck",
"debug": "DEBUG=1 anchor test",
"deploy:fusion_swap": "anchor clean && anchor keys sync && anchor build && anchor deploy --program-name fusion-swap --provider.cluster ",
"deploy:whitelist": "anchor clean && anchor keys sync && anchor build && anchor deploy --program-name whitelist --provider.cluster "
},
"dependencies": {
"@coral-xyz/anchor": "^0.31.1",
"@noble/hashes": "^1.7.1",
"@solana/spl-token": "^0.4.9",
"@types/yargs": "^17.0.33",
"anchor-bankrun": "^0.5.0",
"borsh": "^2.0.0",
"prompt-sync": "^4.2.0",
"solana-bankrun": "^0.4.0",
"spl-token-bankrun": "^0.2.6",
"tweetnacl": "^1.0.3",
"yargs": "^18.0.0"
},
"devDependencies": {
"@solana-developers/helpers": "^2.7.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.0.0",
"bs58": "^6.0.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"keccak": "^3.0.4",
"mocha": "^9.0.3",
"prettier": "^2.6.2",
"ts-mocha": "^10.0.0",
"typescript": "^5.7.3"
}
}