-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.2 KB
/
package.json
File metadata and controls
31 lines (31 loc) · 1.2 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
{
"name": "peek-server",
"version": "1.0.0",
"description": "Webhook server for the Peek iOS app",
"main": "index.js",
"engines": {
"node": ">=22"
},
"scripts": {
"start": "node index.js",
"dev": "node --watch index.js",
"dev:bg": "node index.js > server.log 2>&1 & echo $! > server.pid && echo 'Server started (PID: '$(cat server.pid)')'",
"dev:stop": "[ -f server.pid ] && kill $(cat server.pid) 2>/dev/null && rm server.pid && echo 'Server stopped' || echo 'No server running'",
"test": "node --test test.js",
"test:backup": "node --test test-backup.js",
"test:api": "node --test test-api.js",
"test:api:local": "node --env-file=.env --test test-api.js -- --local",
"test:api:prod": "node --env-file=.env --test test-api.js -- --prod",
"healthcheck": "node index.js & PID=$!; sleep 2; curl -sf http://localhost:3000/ && echo 'Server OK' || echo 'Server failed'; kill $PID 2>/dev/null"
},
"keywords": [],
"author": "Dietrich Ayala <me@burrito.space> (https://metafluff.com/)",
"license": "MIT",
"type": "commonjs",
"dependencies": {
"@hono/node-server": "^1.19.6",
"archiver": "^7.0.1",
"better-sqlite3": "^12.5.0",
"hono": "^4.10.7"
}
}