CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (push) Successful in 42s
CI / Test (jest) (push) Successful in 45s
CI / Integration (api) (push) Successful in 2m21s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m35s
CI / Lint (eslint) (push) Successful in 20s
CI / Lint (eslint) (pull_request) Successful in 14s
CI / Test (jest) (pull_request) Successful in 24s
CI / Security (npm audit) (pull_request) Successful in 25s
CI / UI (playwright) (push) Successful in 2m20s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (pull_request) Successful in 1m45s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m1s
CI / UI screenshots (before/after) (pull_request) Successful in 13s
CI / UI (playwright) (pull_request) Successful in 1m52s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
- eslint: errors for ==, unused or shadowed variables, eval and friends, prefer-const, curly, throw literals, useless catch/escape, constant conditions (loops allowed), unused expressions (short-circuit allowed); --max-warnings 0. Fixed the few violations (two unused requires in server.js, a shadowed mock argument in a test). - Scan job: scripts/ci/check-web-template.sh fails if public/web_template differs from upstream at the commit in its VERSION (change it upstream, then scripts/sync-web-template.sh). - New job UI screenshots (before/after), PRs only, when public/, views/ or the render/nav code changed: runs the base branch and the PR side by side with the same seeded data and uploads one before/after image per page, desktop and phone (scripts/ci/screenshots.js). Not required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"name": "pulse-server",
|
|
"version": "1.0.0",
|
|
"main": "server.js",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"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": "ISC",
|
|
"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",
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|