mirror of
https://github.com/mileswolfallen2/miles-web.git
synced 2026-12-03 23:44:07 +00:00
- Implement tests for HTTP API endpoints, ensuring correct responses and security headers. - Create configuration tests to validate loading of defaults and environment overrides. - Add tests for FEDL service to verify data handling and snapshot functionality. - Introduce GitHub service tests to check API data normalization and caching behavior. - Develop monitor service tests for network checks and uptime calculations. - Implement persistence tests to ensure database migrations are idempotent and data persists across restarts. - Add vault service tests for session management and brute-force protection mechanisms. - Include helper functions for test context creation and JSON response handling.
23 lines
597 B
JSON
23 lines
597 B
JSON
{
|
|
"name": "milesallen-dashboard",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Local backend and infrastructure dashboard for milesallen.site",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "node --watch server/index.js",
|
|
"start": "node server/index.js",
|
|
"test": "node --test tests/",
|
|
"db:migrate": "node server/scripts/migrate.js",
|
|
"hash-password": "node server/scripts/hash-password.js",
|
|
"smoke": "node server/scripts/smoke.js"
|
|
},
|
|
"dependencies": {
|
|
"argon2": "^0.45.2",
|
|
"better-sqlite3": "^13.0.3"
|
|
}
|
|
}
|