-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.17 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
{
"name": "microcloud",
"version": "0.1.0",
"private": true,
"description": "µCloud minimal P2P prototype: signaling server, WebRTC client, protocol, heartbeat",
"main": "dist/server/index.js",
"scripts": {
"ensure-dirs": "node scripts/ensure-dirs.js",
"prebuild": "npm run ensure-dirs",
"prebuild:client": "npm run ensure-dirs",
"prebuild:server": "npm run ensure-dirs",
"dev": "npm run dev:clean-port && concurrently \"npm run dev:server\" \"npm run dev:vite\"",
"dev:clean-port": "lsof -ti:3000 | xargs kill -9 2>/dev/null || true",
"dev:vite": "vite",
"dev:server": "tsx server/server.ts",
"server": "tsx server/server.ts",
"start": "tsx server/server.ts",
"build": "npm run typecheck && npm run build:client && npm run build:server",
"build:client": "esbuild client/src/webrtc.ts --bundle --format=iife --outfile=client/dist/webrtc.js",
"build:server": "tsc -p tsconfig.server.json",
"typecheck": "tsc --noEmit",
"preview": "vite preview",
"test": "jest",
"test:watch": "jest --watch",
"experiments": "tsx scripts/run-experiments.ts",
"analyze": "python3 analysis/analyze_results.py",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\""
},
"keywords": [
"p2p",
"caching",
"webrtc",
"distributed"
],
"author": "",
"license": "MIT",
"dependencies": {
"@mantine/core": "^7.5.0",
"@mantine/hooks": "^7.5.0",
"cors": "^2.8.5",
"express": "^4.19.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sonner": "^1.4.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^30.0.0",
"@types/node": "^20.19.25",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/ws": "^8.5.10",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"esbuild": "^0.21.5",
"jest": "^30.2.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.5",
"ts-node": "^10.9.2",
"tsx": "^4.7.0",
"typescript": "^5.6.3",
"vite": "^5.0.8"
},
"engines": {
"node": ">=18"
}
}