ff21ec921a
The test runner bundles TypeScript tests with esbuild and executes them using Node's built-in test runner. Tests cover document downloader behavior, path utilities, rmapi bridge configuration, style refinement, and ZIP file handling. Mock implementations for Obsidian plugin interfaces enable isolated unit testing.
16 lines
390 B
JSON
16 lines
390 B
JSON
{
|
|
"name": "obsidian-remarkable",
|
|
"version": "0.1.0",
|
|
"description": "Obsidian plugin for reMarkable tablet sync and handwriting OCR",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"build": "node esbuild.config.mjs",
|
|
"dev": "node esbuild.config.mjs --watch",
|
|
"test": "node tests/run-tests.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"esbuild": "^0.19.0"
|
|
}
|
|
}
|