Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 9.87 KB
/
Copy pathpackage.json
File metadata and controls
139 lines (139 loc) · 9.87 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "wick-monorepo",
"version": "0.1.0",
"private": true,
"description": "Wick Markets — Sui touch/no-touch options. Workspaces: sdk, api, keeper, frontend.",
"workspaces": [
"sdk",
"api",
"keeper",
"bots",
"frontend",
"packages/candle-vision",
"packages/candle-vision-react",
"packages/pro-options"
],
"scripts": {
"build:candle-vision": "npm -w @sui-options/candle-vision run build",
"typecheck:candle-vision": "npm -w @sui-options/candle-vision run typecheck",
"test:candle-vision": "npm -w @sui-options/candle-vision run test",
"check:deepbook": "tsx scripts/deepbook-mark-check.ts",
"check:pro": "node scripts/check-pro-live.mjs",
"check:routes": "node scripts/check-routes-live.mjs",
"check:demo": "node scripts/check-demo.mjs",
"verify:pro": "npm run --silent build:pro-options && tsx scripts/verify-pro-pnl.ts",
"verify:pro-fairness": "npm run --silent build:pro-options && tsx scripts/verify-fairness.ts",
"verify:pro-round": "tsx scripts/verify-pro-round.ts",
"verify:pro-fairness:tamper": "npm run --silent build:pro-options && tsx scripts/verify-fairness.ts --tamper",
"verify:fairness": "tsx scripts/verify-v4.ts --rpc mock://synthetic-v4 --ride 0xmock",
"verify:fairness:tamper": "echo '== TAMPER DEMO == a recorded segment is deliberately altered, so the FAIL below is the verifier CATCHING the lie (that is the whole point). The REAL chain PASSes: npm run verify:fairness.' && tsx scripts/verify-v4.ts --rpc mock://tamper-v4 --ride 0xmock",
"verify:fairness:rug": "tsx scripts/verify-v4.ts --rpc mock://rug-v4 --ride 0xmock --home 1000000000",
"verify:fairness:gap": "tsx scripts/verify-v4.ts --rpc mock://gap-v4 --ride 0xmock",
"verify:fairness:touch": "tsx scripts/verify-v4.ts --rpc mock://touch-v4 --ride 0xmock",
"verify:fairness:touchlow": "tsx scripts/verify-v4.ts --rpc mock://touchlow-v4 --ride 0xmock --home 1000000000",
"verify:fairness:aborted": "tsx scripts/verify-v4.ts --rpc mock://aborted-v4 --ride 0xmock",
"verify:fairness:rugtouch": "tsx scripts/verify-v4.ts --rpc mock://rugtouch-v4 --ride 0xmock --home 1000000000",
"verify:fairness:live": "tsx scripts/verify-v4.ts",
"audit:deployment": "tsx scripts/audit-deployment.ts",
"verify:randomness": "tsx scripts/verify-randomness.ts",
"gas:report": "tsx scripts/gas-report.ts",
"vault:solvency": "tsx scripts/vault-solvency.ts",
"prove:live": "node scripts/prove-live.mjs",
"verify:halt": "tsx scripts/audit-ride.ts --market 0x54e915308c596981fa94e5ff1f6f4e602e8bd1aae8c4a610cb782573310b5282 --ride 0x7b3df97e608bda202efd096bca652be8a846dc2a286abfd5d94a1ca3b9c4a5ea",
"verify:payout": "tsx scripts/verify-payout.ts",
"verify:barriers": "tsx scripts/verify-barriers.ts",
"audit:ride": "tsx scripts/audit-ride.ts",
"audit:latest": "tsx scripts/audit-latest.ts",
"audit:sweep": "tsx scripts/audit-sweep.ts",
"test:verify-v4": "tsx --test scripts/verify-v4.test.ts",
"test:verify-payout": "tsx --test scripts/verify-payout.test.ts",
"test:verify-barriers": "tsx --test scripts/verify-barriers.test.ts",
"test:audit-rugs": "tsx --test scripts/audit-rugs.test.ts",
"test:rug-roll": "tsx --test scripts/rugRoll.test.ts",
"test:vault-solvency": "tsx --test scripts/vault-solvency.test.ts",
"test:verify-randomness": "tsx --test scripts/verify-randomness.test.ts",
"test:audit-deployment": "tsx --test scripts/audit-deployment.test.ts",
"test:gas-report": "tsx --test scripts/gas-report.test.ts",
"test:live-verify": "tsx --test scripts/live-verify.test.ts",
"test:verify-replay": "tsx --test frontend/test/verifyReplay.test.ts",
"test:greeks-display": "tsx --test scripts/greeks-display.test.ts",
"test:audit-ride": "tsx --test scripts/audit-ride.test.ts",
"test:chart-live": "tsx --test scripts/check-chart-live.test.ts",
"test:faucet-runway": "tsx --test scripts/check-faucet-runway.test.ts",
"verify:offline": "npm run verify:pro-fairness && npm run verify:fairness && npm run test:offline",
"check:treasury": "tsx scripts/treasury-health.ts",
"check:chart-live": "tsx scripts/check-chart-live.ts",
"check:faucet-runway": "tsx scripts/check-faucet-runway.ts",
"check:rugs": "tsx scripts/audit-rugs.ts",
"check:meta": "node scripts/check-meta.mjs",
"check:all": "npm run check:meta && npm run smoke:demo && npm run check:routes && npm run verify:pro && npm run verify:pro-fairness && npm run verify:fairness && npm run check:rugs -- --max-rounds 50 && npm run check:deepbook && npm run check:treasury && npm run check:chart-live && npm run check:faucet-runway",
"judge": "node scripts/judge.mjs",
"smoke:demo": "bash scripts/demo-smoke.sh",
"smoke:ride": "tsx scripts/judge-ride-smoke.ts",
"chart:keep": "bash scripts/chart-keeper.sh",
"smoke:halt": "tsx scripts/judge-halt-smoke.ts",
"rides:recent": "tsx scripts/recent-rides.ts",
"e2e:pro": "node scripts/e2e-pro-smoke.mjs",
"e2e:verify": "node scripts/e2e-verify-smoke.mjs",
"e2e:coach": "node scripts/e2e-coach-smoke.mjs",
"e2e:ride": "node scripts/e2e-ride-smoke.mjs",
"e2e:verify-live": "node scripts/e2e-verify-live-smoke.mjs",
"e2e": "npm run e2e:pro && npm run e2e:verify && npm run e2e:coach && npm run e2e:ride && npm run e2e:verify-live",
"check:candle-vision:browser": "node scripts/candle-vision-browser-check.mjs",
"check:candle-vision:lightcone": "BROWSER_BACKEND=lightcone CANDLE_VISION_URL=https://wick-markets.vercel.app/candle-vision node scripts/candle-vision-browser-check.mjs",
"build:candle-vision-react": "npm -w @sui-options/candle-vision-react run build",
"typecheck:candle-vision-react": "npm -w @sui-options/candle-vision-react run typecheck",
"release:candle-vision": "node scripts/candle-vision-release-check.mjs && npm run build:candle-vision-react",
"build:pro-options": "npm -w @sui-options/pro-options run build",
"typecheck:pro-options": "npm -w @sui-options/pro-options run typecheck",
"test:pro-options": "npm -w @sui-options/pro-options run test",
"test:pro-fairness": "tsx --test scripts/verify-fairness.test.ts",
"test:verify-pro-round": "tsx --test scripts/verify-pro-round.test.ts",
"test:play-verify-loop": "tsx --test scripts/play-verify-loop.test.ts",
"test:pro-commit-conformance": "tsx --test scripts/pro-commit-conformance.test.ts",
"test:doc-links": "tsx --test scripts/doc-links.test.ts",
"test:doc-counts": "tsx --test scripts/doc-counts.test.ts",
"test:safety-refs": "tsx --test scripts/safety-test-refs.test.ts",
"test:pro-pnl": "tsx --test scripts/verify-pro-pnl.test.ts",
"play": "npm -w @sui-options/pro-options run play",
"build:sdk": "npm -w @wick/sdk run build",
"build:api": "npm -w @wick/api run build",
"build:frontend-deps": "npm run build:sdk && npm run build:candle-vision && npm run build:candle-vision-react && npm run build:pro-options",
"build:frontend": "npm run build:frontend-deps && npm -w frontend run build",
"build:keeper": "npm -w wick-keeper run build",
"build:bots": "npm -w wick-bots run build",
"build:packages": "npm run build:candle-vision && npm run build:candle-vision-react && npm run build:pro-options",
"build": "npm run build:packages && npm run build:sdk && npm run build:api && npm run build:keeper && npm run build:bots && npm run build:frontend",
"dev:api": "npm -w @wick/api run dev",
"dev:frontend": "npm -w frontend run dev",
"keeper:tick": "npm -w wick-keeper run tick",
"keeper:watch": "npm -w wick-keeper run watch",
"bots:setup": "npm -w wick-bots run setup",
"bots:fund": "npm -w wick-bots run fund",
"bots:balances": "npm -w wick-bots run balances",
"bots:run": "npm -w wick-bots run run",
"bots:tick": "npm -w wick-bots run tick",
"test": "npm run test:offline && npm run test:live",
"test:offline": "npm -w @wick/sdk test && npm -w wick-bots test && npm -w wick-keeper test && npm -w @wick/api test && npm run test:candle-vision && npm -w @sui-options/candle-vision-react test && npm run test:pro-options && npm run test:pro-fairness && npm run test:verify-pro-round && npm run test:play-verify-loop && npm run test:pro-commit-conformance && npm run test:pro-pnl && npm run test:verify-v4 && npm run test:audit-rugs && npm run test:rug-roll && npm run test:verify-payout && npm run test:verify-barriers && npm run test:vault-solvency && npm run test:verify-randomness && npm run test:audit-deployment && npm run test:gas-report && npm run test:verify-replay && npm run test:greeks-display && npm run test:audit-ride && npm run test:chart-live && npm run test:faucet-runway && npm run test:live-verify && npm run test:safety && npm run test:doc-links && npm run test:doc-counts && npm run test:safety-refs && npm run test:cold-gate-coverage",
"test:live": "echo 'no network-requiring unit tests — live verification runs via e2e:* and check:* targets'",
"test:move": "cd move && sui move test",
"conformance": "npm -w @wick/sdk run conformance",
"conformance:check": "npm run conformance && git diff --exit-code move/tests/seeded_path_conformance.move",
"typecheck": "npm -w frontend run typecheck && npm -w @wick/api run typecheck && npm -w wick-keeper run typecheck && npm -w wick-bots run typecheck",
"ci": "npm run build:packages && npm run build:sdk && npm run check:dist && npm run typecheck && npm test && npm run build:frontend",
"check:dist": "bash scripts/check-dist.sh",
"safety": "node scripts/safety-report.mjs",
"check:demo-ready": "bash scripts/check-demo-ready.sh",
"check:doc-counts": "bash scripts/check-doc-counts.sh",
"sync:count": "node scripts/sync-move-count.mjs",
"test:safety": "tsx --test scripts/safety-report.test.ts",
"test:cold-gate-coverage": "tsx --test scripts/cold-gate-coverage.test.ts"
},
"overrides": {
"@mysten/sui": "^2.16.0"
},
"devDependencies": {
"@tzafon/lightcone": "^0.14.0"
},
"license": "MIT"
}