26999ca597
Три группы накопившихся auto-правок (НЕ ручные): 1. markdownlint --fix auto-format (~25 .md в docs/superpowers/, docs/security/marketing-vet.md, docs/adr/015, docs/deploy/lkomega-runbook): MD031/MD032 (blank lines around fence/list) + MD004 (bullet markers `+`→`-`). Содержательных текстовых правок 3: ADR-015 bullet, sprint5d-cleanup bullet, router-discipline trailing space. 2. lefthook 2.1.6 → 2.1.8 (package.json + lock): patch-bump, авто-резолвил npm. 3. Observer runtime (docs/observer/): episodes-2026-05.jsonl +420 строк (текущая активность мозга), STATUS.md regen, .pii-counters / .read-counter тики, +2026-05-24-brain-retro.md note. Цель — разблокировать merge feat/llm-first-router → main (этап 0 плана постановки в боевой). Содержание ветки не трогает.
46 lines
2.1 KiB
JSON
46 lines
2.1 KiB
JSON
{
|
|
"name": "liderra",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Лидерра — SaaS CRM (фаза 0: документация и HTML-прототипы)",
|
|
"scripts": {
|
|
"lint:md": "markdownlint-cli2 \"docs/**/*.md\" \"db/**/*.md\" \"*.md\"",
|
|
"lint:md:fix": "markdownlint-cli2 --fix \"docs/**/*.md\" \"db/**/*.md\" \"*.md\"",
|
|
"spell": "cspell --no-progress --show-suggestions \"docs/**/*.md\" \"db/**/*.md\" \"*.md\" \"web/**/*.html\"",
|
|
"links": "bin\\lychee.exe --config .lychee.toml \"docs/**/*.md\" \"db/**/*.md\" \"*.md\"",
|
|
"lint:css": "stylelint \"web/**/*.html\"",
|
|
"lint:sql": "bin\\squawk.exe db/schema.sql",
|
|
"format:sql:check": "perl -I bin/pgFormatter/lib bin/pgFormatter/pg_format db/schema.sql > db/.schema-formatted.tmp.sql && diff -q db/schema.sql db/.schema-formatted.tmp.sql || echo \"pgFormatter would reformat — run npm run format:sql to apply\"",
|
|
"format:sql": "perl -I bin/pgFormatter/lib bin/pgFormatter/pg_format -o db/schema.sql.formatted db/schema.sql && echo \"Wrote db/schema.sql.formatted — review diff before replacing source\"",
|
|
"a11y": "pa11y-ci --config pa11y.config.json",
|
|
"a11y:handoff": "pa11y-ci --config pa11y-handoff.config.json",
|
|
"check:docs": "run-p lint:md spell links a11y",
|
|
"sast": "semgrep --config=p/php --config=p/javascript --config=p/typescript --config=p/secrets --config=.semgrep.yml --error --time",
|
|
"eval:llm": "promptfoo eval -c docs/ml/promptfoo-example/promptfooconfig.yaml",
|
|
"brain:dashboard": "node tools/brain-dashboard-server.mjs",
|
|
"test:tools": "cd app && npx vitest run --config vitest.config.tools.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@cspell/dict-en_us": "^4.4.33",
|
|
"@cspell/dict-ru_ru": "^2.3.2",
|
|
"cspell": "^10.0.0",
|
|
"lefthook": "^2.1.8",
|
|
"markdownlint-cli2": "^0.22.1",
|
|
"npm-run-all2": "^8.0.4",
|
|
"pa11y": "^9.1.1",
|
|
"pa11y-ci": "^4.1.0",
|
|
"postcss-html": "^1.8.1",
|
|
"promptfoo": "^0.121.11",
|
|
"stylelint": "^17.11.0",
|
|
"stylelint-config-standard": "^40.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"overrides": {
|
|
"pa11y-ci": {
|
|
"lodash": "^4.17.21"
|
|
}
|
|
}
|
|
}
|