Files
TORCH/package.json
T
google-labs-jules[bot]andPR0M3TH3AN 6e1bb58f4f feat: add missing audit scripts and lint configuration
Implemented the missing scripts required by the audit-agent:
- `scripts/check-file-size.mjs`: Checks for files exceeding 300 lines.
- `scripts/check-innerhtml.mjs`: Checks for `innerHTML` usage.
- Added `npm run lint` script using ESLint with a basic configuration.
- Added `eslint` and related dependencies.

This unblocks the audit-agent daily schedule.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:21:09 +00:00

27 lines
754 B
JSON

{
"name": "torch-lock",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "TORCH standalone lock CLI and optional dashboard",
"scripts": {
"test": "node --test test/*.test.mjs",
"lock:check:daily": "node src/nostr-lock.mjs check --cadence daily",
"lock:check:weekly": "node src/nostr-lock.mjs check --cadence weekly",
"lock:list": "node src/nostr-lock.mjs list",
"lock:lock": "node src/nostr-lock.mjs lock",
"dashboard:serve": "python3 -m http.server 4173",
"build": "node build.mjs",
"lint": "eslint ."
},
"dependencies": {
"nostr-tools": "2.19.4",
"ws": "8.19.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.0.0",
"globals": "^17.3.0"
}
}