packages/bhl: @baseline-harness/bhl 0.0.1 — детерминированный CLI без LLM/оркестрации/сервера/БД; JSON-конверт и коды выхода 0/1/2/3/4 задокументированы и закреплены тестами. validate: Ajv 2020-12 по схемам <root>/schemas, семантическая сверка ID, ссылок, RFC-2119 слов и циклов depends-on. Местный строгий gate (prettier, eslint --max-warnings 0, tsc strict) зелёный: 10 тестов.
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"name": "@baseline-harness/bhl",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Детерминированный CLI Baseline Harness Standard: валидация, разрешение профилей, аудит",
|
|
"license": "UNLICENSED",
|
|
"bin": {
|
|
"bhl": "./src/cli.ts"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.19.0"
|
|
},
|
|
"scripts": {
|
|
"bhl": "node src/cli.ts",
|
|
"check": "npm run format:check && npm run lint && npm run typecheck",
|
|
"test": "node --test \"tests/*.test.mjs\"",
|
|
"lint": "eslint --max-warnings 0 \"src/**/*.ts\" \"tests/**/*.{ts,mjs}\" eslint.config.mjs",
|
|
"typecheck": "tsc --project tsconfig.json",
|
|
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.{ts,mjs}\" eslint.config.mjs tsconfig.json .prettierrc.json",
|
|
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.{ts,mjs}\" eslint.config.mjs tsconfig.json .prettierrc.json",
|
|
"quality": "npm run check && npm test"
|
|
},
|
|
"dependencies": {
|
|
"ajv": "8.20.0",
|
|
"yaml": "2.9.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "9.39.5",
|
|
"@types/node": "22.19.19",
|
|
"eslint": "9.39.5",
|
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
"eslint-plugin-import-x": "4.17.1",
|
|
"eslint-plugin-sonarjs": "4.2.0",
|
|
"globals": "16.5.0",
|
|
"prettier": "3.6.2",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "8.65.0"
|
|
}
|
|
}
|