-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 2.38 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 2.38 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
{
"name": "dualmode",
"private": true,
"type": "commonjs",
"scripts": {
"test": "jest --runInBand",
"test:coverage": "jest --coverage --runInBand",
"typecheck": "tsc -p tsconfig.json --noEmit",
"backend": "tsx backend/src/server.ts",
"backend:watch": "tsx watch backend/src/server.ts",
"dev": "node vite.dev.mjs",
"dev:legacy": "DUALMODE_DEV_HMR=false DUALMODE_DEV_WATCH=false node vite.dev.mjs",
"dev:stack": "sh -c 'PORT=${PORT:-3012}; pkill -f \"tsx watch backend/src/server.ts\" 2>/dev/null || true; pkill -f \"backend/src/server.ts\" 2>/dev/null || true; PIDS=$(lsof -tiTCP:${PORT} -sTCP:LISTEN 2>/dev/null || true); if [ -n \"$PIDS\" ]; then kill -9 $PIDS; fi; JWT_SECRET=${JWT_SECRET:-dev} PORT=${PORT} npm run backend:watch > /tmp/reddoor-backend.log 2>&1 & BACK_PID=$!; i=0; until curl -fsS \"http://127.0.0.1:${PORT}/health\" >/dev/null 2>&1; do i=$((i+1)); if [ $i -ge 80 ]; then echo \"Backend failed to become healthy on port ${PORT}.\"; tail -n 120 /tmp/reddoor-backend.log; kill $BACK_PID 2>/dev/null || true; exit 1; fi; if ! kill -0 $BACK_PID 2>/dev/null; then echo \"Backend process exited.\"; tail -n 120 /tmp/reddoor-backend.log; exit 1; fi; sleep 0.25; done; DUALMODE_BACKEND_PORT=${DUALMODE_BACKEND_PORT:-${PORT}} npm run dev'",
"build": "node vite.build.mjs",
"pages:sync": "node scripts/sync-pages-static.mjs",
"build:pages": "npm run build && npm run pages:sync",
"build:obfuscated": "npm run build && node scripts/obfuscate-dist.cjs",
"preview": "vite preview --strictPort --port 5173"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.997.0",
"@aws-sdk/s3-request-presigner": "^3.997.0",
"@fontsource/monoton": "5.2.7",
"@fontsource/rajdhani": "5.2.6",
"express": "^4.22.1",
"maplibre-gl": "5.8.0",
"nodemailer": "^8.0.1",
"pg": "8.13.3"
},
"devDependencies": {
"@types/express": "4.17.21",
"@types/jest": "29.5.14",
"@types/jsonwebtoken": "9.0.6",
"@types/nodemailer": "6.4.17",
"@types/pg": "8.11.10",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@types/ws": "8.5.13",
"@vitejs/plugin-react": "4.3.4",
"javascript-obfuscator": "4.1.1",
"jest": "29.7.0",
"jsonwebtoken": "9.0.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"ts-jest": "29.2.5",
"tsx": "^4.21.0",
"typescript": "5.6.3",
"vite": "^5.4.21",
"ws": "8.18.0"
}
}