Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.45 KB
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 1.45 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
{
"name": "vm2api",
"private": true,
"description": "VM-fidelity subscription-to-API gateway",
"type": "module",
"main": "src/server.mjs",
"scripts": {
"start": "node src/server.mjs",
"test": "npm run test:unit && npm run test:go",
"test:unit": "node scripts/run-isolated-tests.mjs test/unit .test.mjs",
"test:e2e": "node scripts/run-isolated-tests.mjs test/e2e .e2e.test.mjs",
"test:node": "npm run test:unit",
"test:go": "cd worker && go test -race ./...",
"test:all": "npm run test:unit && npm run test:go",
"build:worker": "mkdir -p bin && cd worker && CGO_ENABLED=0 go build -trimpath -o ../bin/kin-worker ./cmd/kin-worker",
"build:egress": "mkdir -p bin && cd worker && CGO_ENABLED=0 go build -trimpath -o ../bin/kin-egress ./cmd/kin-egress",
"build:gate": "mkdir -p bin && cd worker && CGO_ENABLED=0 go build -trimpath -o ../bin/kin-slot-gate ./cmd/kin-slot-gate",
"build:web": "pnpm -C web build",
"fetch:payload": "node scripts/fetch-payload.mjs",
"test:web": "pnpm -C web test",
"format": "biome format --write && gofmt -w worker && pnpm -C web format",
"format:check": "biome format && node scripts/check-gofmt.mjs && pnpm -C web format:check"
},
"dependencies": {
"croner": "^10.0.1",
"https-proxy-agent": "^9.1.0",
"node-fetch": "^2.7.0",
"socks-proxy-agent": "^10.1.0",
"ssh2": "^1.17.0",
"ws": "^8.22.0"
},
"devDependencies": {
"@biomejs/biome": "2.5.11"
}
}