lllin000_PaperForge/paperforge/plugin/package.json
Research Assistant 2cb223ddbb feat(53-001): extract src/ modules from main.js and add Vitest test infrastructure
- runtime.js: resolvePythonExecutable, getPluginVersion, checkRuntimeVersion
- errors.js: classifyError, buildRuntimeInstallCommand, parseRuntimeStatus
- commands.js: ACTIONS, buildCommandArgs, runSubprocess
- package.json with vitest + obsidian-test-mocks + jsdom
- vitest.config.ts with jsdom environment
- 42 Vitest tests across 3 test files
- Refactored main.js to import from src/ modules
2026-05-09 00:05:19 +08:00

16 lines
309 B
JSON

{
"name": "paperforge-plugin",
"version": "1.0.0",
"private": true,
"type": "commonjs",
"scripts": {
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"vitest": "^2.1.0",
"obsidian-test-mocks": "^2.0.0",
"jsdom": "^25.0.0",
"obsidian": "^1.12.0"
}
}