fancive_obsidian-parallel-r.../package.json
wujunchen 741012e535 test: add settings.ts edge case tests for utility functions
Tests cover stableStringify (key sorting, nested, types), isApiBackend,
getApiFormat/getApiAuthType fallback behavior, normalizeMaxCacheEntries,
hashContent consistency, normalizeSettings validation (invalid uiLanguage,
apiProvider, apiFormat, apiAuthType, non-string customSystemPrompt),
and pruneCacheEntries with null/empty/non-object inputs.

Change-Id: I96269c69871e3c17ccb06a71ac9cfb9733a382f6
2026-04-27 15:30:33 +08:00

22 lines
1.4 KiB
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 tests/main.test.js && node tests/generation-job-manager.test.js && node tests/anchor.test.js && node tests/schema.test.js && node tests/cache.test.js && node tests/cards-nav.test.js && node tests/markdown.test.js && node tests/vault-batch.test.js && node tests/i18n.test.js && node tests/scroll.test.js && node tests/settings.test.js && node tests/providers.test.js && node tests/streaming.test.js && node tests/cli.test.js && node tests/direct-prompt.test.js && node tests/direct-generation.test.js && node tests/direct-markdown.test.js && node tests/direct-settings-extra.test.js && node tests/direct-cache.test.js && node tests/direct-providers.test.js && node tests/direct-settings.test.js && node tests/direct-i18n.test.js && node tests/direct-streaming.test.js"
},
"devDependencies": {
"@biomejs/biome": "^2.4.13",
"@types/node": "^22.10.2",
"esbuild": "^0.24.2",
"obsidian": "^1.7.2",
"typescript": "^5.7.2"
}
}