Files
skywatch/package.json
T
nmemmertandClaude Sonnet 4.6 65e97f2dae Add agent notifications + fix update script
- scheduler.js: check agents every 2 min — alert on offline/online
  transitions and CPU/memory/disk threshold breaches (90%)
- notificationService.js: sendAgentAlert() sends via email, webhook,
  ntfy, and saves to in-app notifications table
- package.json: pin better-sqlite3 to 9.6.0 (compatible with Node 20)
- update-server.sh: add React client build step; use npm install
  instead of rm -rf + npm ci for faster incremental updates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-11 14:42:24 -04:00

40 lines
1.1 KiB
JSON

{
"name": "skywatch",
"version": "1.0.0",
"description": "SkyWatch - Infrastructure monitoring and alerting system",
"main": "server/index.js",
"scripts": {
"start": "node server/index.js",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"server": "nodemon server/index.js",
"client": "cd client && PORT=3456 npm start",
"build": "cd client && npm run build",
"build:commit": "npm run build && git add -f client/build/ && git commit -m \"Auto-commit built React app\" && git push",
"install-all": "npm install && cd client && npm install"
},
"keywords": [
"monitoring",
"uptime",
"alerts",
"dashboard"
],
"author": "",
"license": "MIT",
"dependencies": {
"axios": "^1.6.2",
"better-sqlite3": "9.6.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.3",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.7",
"ping": "^0.4.4",
"ws": "^8.17.1"
},
"devDependencies": {
"concurrently": "^8.2.2",
"nodemon": "^3.0.2"
}
}