Add a bunfig.toml enabling coverage with text + lcov reporters, a test:coverage script, and gitignore the coverage/ output. Test files and the test-support helper are excluded so the numbers reflect product code only.
22 lines
438 B
JSON
22 lines
438 B
JSON
{
|
|
"name": "kitchen-md",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/core",
|
|
"packages/bin"
|
|
],
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"test:coverage": "bun test --coverage",
|
|
"lint": "biome check .",
|
|
"format": "biome check --write .",
|
|
"postinstall": "bun2nix -o bun.nix"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.3",
|
|
"bun-types": "latest",
|
|
"bun2nix": "^2.1.2"
|
|
}
|
|
}
|