forked from xlnfinance/xln
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 6.36 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 6.36 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
{
"name": "xlnfinance",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"clean-slate": "./scripts/dev/clean-slate.sh",
"dev": "concurrently --names 'ANVIL,API,RUNTIME,VITE' -c 'magenta,blue,yellow,green' 'anvil --host 0.0.0.0 --port 8545 --chain-id 31337 --block-gas-limit 60000000 --code-size-limit 65536' 'USE_ANVIL=true ANVIL_RPC=http://localhost:8545 bun runtime/server.ts --port 8082' 'bun build runtime/runtime.ts --target=browser --outfile=frontend/static/runtime.js --minify --external http --external https --external zlib --external fs --external path --external crypto --external stream --external url --external net --external tls --external os --external util --watch' 'cd frontend && vite dev'",
"dev:no-relay": "cd frontend && vite dev",
"relay": "bun runtime/networking/ws-server.ts --port 9000",
"build": "./scripts/build-runtime.sh",
"start": "bun runtime/server.ts --port 8080",
"dev:ci": "./dev-ci.sh",
"serve": "bun run serve.ts",
"serve:dev": "./scripts/build-runtime.sh && bun run serve.ts",
"notify:done": "bash ./scripts/notify.sh 'Task complete' 'XLN Agent' 'All done'",
"notify:fail": "bash ./scripts/notify.sh 'Task failed' 'XLN Agent' 'Check logs' 'Basso'",
"test:e2e:notify": "bunx playwright test && bash ./scripts/notify.sh 'E2E passed' 'XLN Agent' || bash ./scripts/notify.sh 'E2E failed' 'XLN Agent' 'See report' 'Basso'",
"test:e2e": "playwright test",
"test:e2e:parallel:isolated": "bun runtime/scripts/run-e2e-parallel-isolated.ts",
"test:e2e:parallel:max": "bun runtime/scripts/run-e2e-parallel-isolated.ts --shards=8 --workers-per-shard=1 --video=on --trace=off --screenshot=only-on-failure --max-failures=1",
"test:e2e:mvp": "bun runtime/scripts/run-e2e-parallel-isolated.ts --video=on --trace=off --screenshot=only-on-failure --max-failures=1",
"test:persistence:cli": "bun runtime/scripts/persistence-wal-smoke.ts",
"test:scenarios:parallel:isolated": "bun runtime/scenarios/run.ts",
"test:all:fast": "bun runtime/scripts/run-all-tests-fast.ts",
"test:feedback:20": "bun runtime/scenarios/run.ts --set=smoke --workers=2",
"test:all:quick": "bun runtime/scripts/run-all-tests-fast.ts --quick --skip-build --scenario-workers=2 --e2e-shards=1",
"test:all:smoke": "bun runtime/scripts/run-all-tests-fast.ts --smoke --skip-build --scenario-workers=2 --e2e-shards=1",
"test:system:parallel": "bun runtime/scripts/run-system-tests-parallel.ts",
"test:system:parallel:stream": "bun runtime/scripts/run-system-tests-parallel.ts --stream",
"test:e2e:flows": "bun runtime/scripts/run-e2e-parallel-isolated.ts --pw-project=chromium --pw-files=tests/e2e-user-journey.spec.ts,tests/e2e-rebalance-bar.spec.ts,tests/e2e-ahb-payment.spec.ts,tests/e2e-multiroute-load.spec.ts",
"dev:quick": "./dev-quick.sh",
"dev:watch": "./dev-watch.sh",
"dev:reset": "./reset-networks.sh",
"test": "cd jurisdictions && echo 'ℹ️ Contract tests now run as part of deployment cycle (see deploy-contracts.sh)'",
"build:static": "cd frontend && bun run build:static && echo '✅ Static build complete for GitHub Pages'",
"build:deploy": "npm run build:static && echo '🚀 Ready for GitHub Pages deployment'",
"deploy": "./deploy.sh",
"deploy:full": "./deploy.sh --frontend",
"deploy:fresh": "./deploy.sh --fresh",
"deploy:prod": "./deploy.sh --remote root@xln.finance --push",
"deploy:prod:full": "./deploy.sh --remote root@xln.finance --push --frontend",
"deploy:prod:fresh": "./deploy.sh --remote root@xln.finance --push --fresh",
"test:contracts:r2r": "cd jurisdictions && bunx hardhat run test-r2r-post-deployment.cjs --network localhost",
"test:governance": "cd jurisdictions && npx hardhat test --grep governance",
"test:entity": "cd jurisdictions && npx hardhat test --grep entity",
"check": "bun run check:no-manual-delta-math && bun x tsc --noEmit && cd frontend && bun run check",
"check:src": "bun run check:jadapter-boundary && bun run check:no-manual-delta-math && bun x tsc --noEmit",
"check:frontend": "cd frontend && bun run check",
"check:jadapter-boundary": "bun runtime/scripts/check-jadapter-boundary.ts",
"check:no-manual-delta-math": "bun runtime/scripts/check-no-manual-delta-math.ts",
"build:tsc": "tsc",
"watch": "tsc --watch",
"env:build": "cd ./jurisdictions && npx hardhat compile",
"env:run": "anvil --host 0.0.0.0 --port 8545 --chain-id 31337 --block-gas-limit 60000000 --code-size-limit 65536",
"env:deploy": "cd ./jurisdictions && npx hardhat ignition deploy ignition/modules/Depository.ts --network localhost",
"format": "prettier --write ./runtime",
"check:prettier": "prettier --check ./runtime",
"lint": "eslint ./runtime",
"docs:governance": "echo 'See docs/governance-architecture.md for comprehensive governance documentation'",
"demo": "echo 'See docs/governance-architecture.md for governance demo and examples'"
},
"keywords": [],
"author": "",
"license": "AGPL-3.0",
"description": "",
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@playwright/test": "^1.58.2",
"@tsconfig/node20": "^20.1.9",
"@types/minimatch": "^6.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.31",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"chai-as-promised": "^8.0.2",
"concurrently": "^9.2.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-prettier": "^5.5.5",
"hardhat": "^2.28.4",
"mocha": "^10.8.2",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.71.2",
"@ethereumjs/common": "^10.1.1",
"@ethereumjs/tx": "^10.1.1",
"@ethereumjs/util": "^10.1.1",
"@ethereumjs/vm": "^10.1.1",
"@noble/ciphers": "^2.1.1",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@node-rs/argon2": "^2.0.2",
"argon2": "^0.43.1",
"bip39": "^3.1.0",
"buffer": "^6.0.3",
"crush": "^0.2.1",
"crypto-js": "^4.2.0",
"dockview": "^4.13.1",
"ethers": "^6.16.0",
"hash-wasm": "4.12.0",
"jdenticon": "^3.3.0",
"js-sha3": "^0.9.3",
"level": "^8.0.1",
"merkletreejs": "^0.4.1",
"msgpackr": "^1.11.8",
"tevm": "^1.0.0-next.149",
"ws": "^8.19.0"
},
"type": "module"
}