mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
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]>
27 lines
754 B
JSON
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"
|
|
}
|
|
}
|