Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.89 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.89 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
{
"name": "ftw-webapp",
"version": "0.0.0",
"private": true,
"description": "FTW — the user's app for local-first home energy coordination.",
"license": "SEE LICENSE IN LICENSE",
"type": "module",
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"build:stats": "WRANGLER_WRITE_LOGS=0 wrangler deploy --dry-run --config stats/wrangler.jsonc --outdir stats/dist",
"preview": "vite preview",
"relay": "node relay/src/main.ts",
"icons": "node scripts/make-icons.mjs",
"check": "svelte-check --tsconfig ./tsconfig.json && npm run check:stats",
"check:stats": "tsc -p stats/tsconfig.json && npm run types:stats -- --check",
"check:contract": "node scripts/check-contract-drift.mjs",
"check:tokens": "node scripts/check-token-drift.mjs",
"test": "vitest run && npm run test:stats",
"test:stats": "WRANGLER_WRITE_LOGS=0 vitest run --config stats/vitest.config.ts",
"types:stats": "WRANGLER_WRITE_LOGS=0 wrangler types stats/worker-configuration.d.ts --config stats/wrangler.jsonc --include-runtime false",
"test:watch": "vitest",
"verify": "npm run check && npm run test && npm run build && npm run build:stats"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.21.3",
"@cloudflare/workers-types": "^5.20260814.1",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@testing-library/svelte": "^5.4.2",
"@types/node": "^26.1.2",
"@types/ws": "^8.18.1",
"fake-indexeddb": "^6.2.5",
"jsdom": "^30.0.1",
"svelte": "^5.56.8",
"svelte-check": "^4.7.4",
"typescript": "^5.9.3",
"vite": "^8.2.0",
"vitest": "^4.1.10",
"wrangler": "^4.118.0"
},
"dependencies": {
"@noble/ciphers": "^2.2.0",
"@noble/curves": "^2.2.0",
"@noble/hashes": "^2.2.0",
"cbor2": "^2.3.0",
"idb": "^8.0.3",
"jose": "^6.2.8",
"jsqr": "^1.4.0",
"ws": "^8.21.2"
}
}