Files
harness-lab/packages/bhl/package.json
T
Suslov-MD e7adc89089 build: NPM-упаковка @baseline-harness/bhl (BHL-028)
- tsc → dist/ (prepare при pack); bin dist/cli.js — Node запрещает
  type-stripping в node_modules; rewriteRelativeImportExtensions
- files: dist+src+доки; engines >=22.19; private:true — публикация
  только по отдельному поручению (D-034); publishConfig.access public
- тест pack: pack → установка tarball → bhl version (пакет 42/42)
- dist/ в .gitignore
2026-11-29 02:34:24 +03:00

52 lines
1.6 KiB
JSON

{
"name": "@baseline-harness/bhl",
"version": "0.0.1",
"private": true,
"type": "module",
"description": "Детерминированный CLI Baseline Harness Standard: валидация, разрешение профилей, аудит",
"license": "UNLICENSED",
"bin": {
"bhl": "./dist/cli.js"
},
"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",
"build": "tsc -p tsconfig.build.json",
"prepare": "npm run build"
},
"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"
},
"files": [
"dist",
"src",
"README.md",
"QUALITY.md"
],
"publishConfig": {
"access": "public"
}
}