mirror of
https://github.com/fancive/obsidian-parallel-reader.git
synced 2026-07-22 06:53:43 +00:00
- Create scripts/run-tests.mjs to auto-discover test files, replacing the 900-char inline test command in package.json (P3-1) - Add test:only script for CI to avoid duplicate build+typecheck (P2-1) - Preserve original SyntaxError as cause in responseJson (P2-3) Change-Id: I51d0c8c51d3b0b648ed5ff4ea282bda070b0d457
23 lines
711 B
JSON
23 lines
711 B
JSON
{
|
|
"name": "obsidian-parallel-reader",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"build": "node esbuild.config.mjs production",
|
|
"check:build-artifacts": "node scripts/check-build-artifacts.mjs",
|
|
"dev": "node esbuild.config.mjs watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "biome check main.ts src/",
|
|
"lint:fix": "biome check --write main.ts src/",
|
|
"test": "npm run build && npm run typecheck && node scripts/run-tests.mjs",
|
|
"test:only": "node scripts/run-tests.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.13",
|
|
"@types/node": "^22.10.2",
|
|
"esbuild": "^0.24.2",
|
|
"obsidian": "^1.7.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|