vesan_obsidian-table-beauti.../package.json
Vesa Vänskä 0c18d9123b
test: expand coverage and report it in CI
- Add @vitest/coverage-v8, test:coverage script, vitest.config.ts
- Extract looksLikeTable to src/detect.ts so it is testable without
  pulling the obsidian runtime
- Add edge-case tests for parser, formatter, convert, and detect
  (23 -> 38 tests; line coverage 100% on every file except main.ts)
- Run coverage in CI and append the line % to the step summary
2026-05-25 11:39:06 +03:00

21 lines
625 B
JSON

{
"name": "obsidian-table-beautifier",
"version": "1.0.1",
"description": "Obsidian plugin that converts ASCII/Unicode box-drawing tables into Markdown tables",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@vitest/coverage-v8": "^4.1.7",
"esbuild": "^0.28.0",
"obsidian": "latest",
"typescript": "^5.3.0",
"vitest": "^4.1.7"
}
}