CI / Lint (eslint) (pull_request) Successful in 36s
CI / Test (jest) (pull_request) Successful in 36s
CI / Security (npm audit) (pull_request) Successful in 37s
CI / Integration (api) (pull_request) Successful in 2m18s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m45s
CI / UI screenshots (before/after) (pull_request) Successful in 7s
CI / UI (playwright) (pull_request) Successful in 2m50s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
Production moved to Node 22.23.5 on 2026-11-23: the worker (CT 153) first, then the server (CT 122), each from NodeSource's node_22.x repo and checked with real commands end to end. So: - package.json engines: node >= 22. - README prerequisites say Node 22, with a note on NodeSource's signing key: copies from before January 2026 bind it with SHA-1, which Debian 13 rejects, so apt reports the repository as unsigned. - The Test (Node 20) job is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"name": "pulse-server",
|
|
"version": "1.0.0",
|
|
"main": "server.js",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"test": "jest --coverage",
|
|
"lint": "eslint --ext .js --max-warnings 0 .",
|
|
"test:ui": "playwright test",
|
|
"test:integration": "jest --config tests/integration/jest.config.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"description": "",
|
|
"dependencies": {
|
|
"axios": "^1.20.0",
|
|
"cron-parser": "^5.5.0",
|
|
"dotenv": "^17.2.3",
|
|
"ejs": "3.1.10",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^8.3.1",
|
|
"helmet": "8.1.0",
|
|
"mysql2": "^3.15.3",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.64.1",
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-security": "4.2.1",
|
|
"jest": "^30.5.2"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/tests/ui/",
|
|
"/tests/integration/"
|
|
],
|
|
"coverageThreshold": {
|
|
"./lib/": {
|
|
"statements": 90,
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 90
|
|
},
|
|
"./worker/": {
|
|
"statements": 40,
|
|
"branches": 70,
|
|
"functions": 25,
|
|
"lines": 40
|
|
}
|
|
}
|
|
}
|
|
}
|