-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
85 lines (85 loc) · 5.89 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
{
"scripts": {
"test:invariant-all": "npm run test:swap && npm run test:multiple-swap && npm run test:cross && npm run test:cross-both-side && npm run test:liquidity-gap && npm run test:reversed && npm run test:position && npm run test:math && npm run test:withdraw && npm run test:position-list && npm run test:claim && npm run test:protocol-fee && npm run test:target && npm run test:slippage && npm run test:position-slippage && npm run test:fee-tier && npm run test:simulate-swap && npm run test:simulate-claim-amount && npm run test:oracle && npm run test:limits && npm run test:big-swap && npm run test:compare && npm run test:tickmap && npm run test:change-fee-receiver && npm run test:random && npm run test:change-protocol-fee && npm run test:whole-liquidity && npm run test:cu && npm run test:referral-default && npm run test:referral-all && npm run test:referral-none && npm run test:referral-jupiter && npm run test:max-tick-cross",
"test:staker-all": "npm run test:create && npm run test:stake && npm run test:withdraw-staker && npm run test:multicall && npm run test:position-change && npm run test:math-staker && npm run test:close-stake",
"test:all": "npm run test:invariant-all && npm run test:staker-all",
"test:swap": "anchor test --skip-build tests/swap.spec.ts",
"test:multiple-swap": "anchor test --skip-build tests/multiple-swap.spec.ts",
"test:referral-default": "anchor test tests/referral-swap-none.spec.ts",
"test:referral-all": "anchor test tests/referral-swap-all.spec.ts -- --features \"all\"",
"test:referral-none": "anchor test tests/referral-swap-none.spec.ts -- --features \"none\"",
"test:referral-jupiter": "anchor test tests/referral-swap-none.spec.ts -- --features \"jupiter\"",
"test:range": "anchor test --skip-build tests/liquidity-range.spec.ts",
"test:cross-both-side": "anchor test --skip-build tests/cross-both-side.spec.ts",
"test:liquidity-gap": "anchor test --skip-build tests/liquidity-gap.spec.ts",
"test:simulate-swap": "anchor test --skip-build tests/simulate-swap.spec.ts",
"test:compare": "anchor test --skip-build tests/compare.spec.ts",
"test:oracle": "anchor test --skip-build tests/oracle.spec.ts",
"test:cross": "anchor test --skip-build tests/cross.spec.ts",
"test:reversed": "anchor test --skip-build tests/reversed.spec.ts",
"test:position": "anchor test --skip-build tests/position.spec.ts",
"test:math": "anchor test --skip-build tests/math.spec.ts",
"test:ticks": "anchor test --skip-build tests/ticks.spec.ts",
"test:withdraw": "anchor test --skip-build tests/withdraw.spec.ts",
"test:position-list": "anchor test --skip-build tests/position-list.spec.ts",
"test:claim": "anchor test --skip-build tests/claim.spec.ts",
"test:simulate-claim-amount": "anchor test --skip-build tests/simulate-claim-amount.spec.ts",
"test:limits": "anchor test --skip-build tests/limits.spec.ts",
"test:random": "anchor test --skip-build tests/random.spec.ts",
"test:math-staker": "anchor test --skip-build tests-staker/math.spec.ts",
"test:create": "anchor test --skip-build tests-staker/create.spec.ts",
"test:stake": "anchor test --skip-build tests-staker/stake.spec.ts",
"test:withdraw-staker": "anchor test --skip-build tests-staker/withdraw.spec.ts",
"test:end-incentive": "anchor test --skip-build tests-staker/end-incentive.spec.ts",
"test:multicall": "anchor test --skip-build tests-staker/multicall.spec.ts",
"test:protocol-fee": "anchor test --skip-build tests/protocol-fee.spec.ts",
"test:target": "anchor test --skip-build tests/target.spec.ts",
"test:slippage": "anchor test --skip-build tests/slippage.spec.ts",
"test:position-slippage": "anchor test --skip-build tests/position-slippage.spec.ts",
"test:fee-tier": "anchor test --skip-build tests/fee-tier.spec.ts",
"test:big-swap": "anchor test --skip-build tests/big-swap.spec.ts",
"test:cu": "anchor test --skip-build tests/cu.spec.ts",
"test:init-both": "anchor test --skip-build tests/init-pool-and-position.spec.ts",
"test:change-protocol-fee": "anchor test --skip-build tests/change-protocol-fee.spec.ts",
"test:tickmap": "anchor test --skip-build tests/tickmap.spec.ts",
"test:change-fee-receiver": "anchor test --skip-build tests/change-fee-receiver.spec.ts",
"test:whole-liquidity": "anchor test --skip-build tests/whole-liquidity.spec.ts",
"test:max-tick-cross": "anchor test --skip-build tests/max-tick-cross.spec.ts",
"test:remove-stake": "anchor test --skip-build tests-staker/remove-stake.spec.ts",
"test:remove-all-stakes": "anchor test --skip-build tests-staker/remove-all-stakes.spec.ts",
"test:close-stake": "anchor test --skip-build tests-staker/close-stake.spec.ts",
"test:position-change": "anchor test --skip-build tests-staker/position-change.spec.ts",
"build:invariant": "cd sdk && npm run build",
"build:staker": "cd staker-sdk && npm run build",
"build:all": "npm run build:invariant && npm run build:staker",
"program:jupiter": "anchor build -- --features \"jupiter\"",
"program:all": "anchor build -- --features \"all\"",
"program:none": "anchor build -- --features \"none\""
},
"dependencies": {
"@ledgerhq/hw-transport-node-hid": "^6.2.0",
"@project-serum/anchor": "^0.21.0",
"@project-serum/serum": "^0.13.58",
"@solana/buffer-layout": "^4.0.0",
"@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.87.6",
"@types/node": "^16.0.0",
"bip32": "^2.0.6",
"bs58": "^4.0.1",
"dotenv": "^10.0.0",
"ed25519-hd-key": "^1.2.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-prettier": "^4.0.0",
"ts-mocha": "^8.0.0"
},
"devDependencies": {
"@invariant-labs/sdk": "file:sdk",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"chai": "^4.3.4",
"mocha": "^8.0.0",
"prettier": "^2.3.2",
"prettier-config-standard": "^4.0.0",
"typescript": "^4.5.4"
}
}