-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 3.71 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 3.71 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
{
"name": "sub-rosa",
"version": "0.1.0",
"private": true,
"description": "Verifiable allocation infrastructure for Stellar grants, hackathons, bounties, RFPs, and sealed auctions.",
"license": "MIT",
"packageManager": "pnpm@10.13.1",
"engines": {
"node": ">=22"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"packageExtensions": {
"drand-client": {
"dependencies": {
"@noble/hashes": "^1.8.0"
}
}
}
},
"scripts": {
"contract:build": "stellar contract build",
"contract:test": "cargo test -p sub-rosa-round",
"bindings:generate": "stellar contract build --out-dir artifacts && rm -rf tmp-bindings && stellar contract bindings typescript --wasm artifacts/sub_rosa_round.wasm --output-dir tmp-bindings --overwrite && cp tmp-bindings/src/index.ts packages/round-bindings/src/index.ts && rm -rf tmp-bindings",
"bindings:check": "stellar contract build --out-dir artifacts && rm -rf tmp-bindings && stellar contract bindings typescript --wasm artifacts/sub_rosa_round.wasm --output-dir tmp-bindings --overwrite && (diff tmp-bindings/src/index.ts packages/round-bindings/src/index.ts; diff_exit=$?; rm -rf tmp-bindings; if [ $diff_exit -ne 0 ]; then echo '❌ Round bindings are stale. Run pnpm bindings:generate to update them.'; exit 1; else echo '✅ Round bindings are up to date.'; fi)",
"sdk:test": "pnpm --filter @sub-rosa/sdk test",
"sdk:typecheck": "pnpm --filter @sub-rosa/sdk typecheck",
"bindings:test": "pnpm --filter @sub-rosa/round-bindings test",
"bindings:typecheck": "pnpm --filter @sub-rosa/round-bindings typecheck",
"sdk:smoke": "bash packages/sdk/scripts/live-smoke.sh",
"threat-model:check": "node scripts/check-threat-model-anchors.mjs docs/THREAT_MODEL.md",
"threat-model:test": "node --test scripts/check-threat-model-anchors.test.mjs",
"mainnet:deploy": "bash packages/sdk/scripts/mainnet-deploy.sh",
"mainnet:settle": "bash services/keeper/scripts/mainnet-settle.sh",
"mainnet:ready": "bash packages/sdk/scripts/mainnet-ready.sh",
"mainnet:verify": "bash packages/sdk/scripts/mainnet-verify.sh",
"mainnet:micro": "bash packages/sdk/scripts/mainnet-micro.sh",
"tlock:test": "pnpm --filter @sub-rosa/tlock test",
"keeper:test": "pnpm --filter @sub-rosa/keeper test",
"keeper:e2e": "bash services/keeper/scripts/keeper-e2e.sh",
"keeper:watch": "pnpm --filter @sub-rosa/keeper watch",
"lifecycle:e2e": "bash services/keeper/scripts/lifecycle-e2e.sh",
"appraisal:test": "pnpm --filter @sub-rosa/appraisal-api test",
"appraisal:typecheck": "pnpm --filter @sub-rosa/appraisal-api typecheck",
"appraisal:start": "pnpm --filter @sub-rosa/appraisal-api start",
"appraisal:e2e": "bash services/appraisal-api/scripts/x402-e2e.sh",
"agent:test": "pnpm --filter @sub-rosa/agent test",
"agent:typecheck": "pnpm --filter @sub-rosa/agent typecheck",
"agents:e2e": "bash services/agent/scripts/agents-e2e.sh",
"template:fixture": "pnpm --filter @sub-rosa/auction-template fixture",
"template:testnet": "bash services/auction-template/testnet.sh",
"template:typecheck": "pnpm --filter @sub-rosa/auction-template typecheck",
"web:dev": "pnpm --filter @sub-rosa/web dev",
"web:build": "pnpm --filter @sub-rosa/web build",
"web:test": "pnpm --filter @sub-rosa/web test",
"web:typecheck": "pnpm --filter @sub-rosa/web typecheck",
"grant-scoring:test": "pnpm --filter @sub-rosa/grant-scoring-pilot test",
"grant-scoring:start": "pnpm --filter @sub-rosa/grant-scoring-pilot start",
"snapshot:check": "node scripts/check-snapshots.mjs",
"docs:check": "node scripts/check-deploy-docs.mjs",
"docs:check-links": "node scripts/check-links.js"
}
}