mirror of
https://github.com/flatulentfowl/docdrop.git
synced 2026-07-22 06:49:52 +00:00
The plugin was imported in eslint.config.js but not listed in package.json, causing TypeScript to treat the import as an unresolved error type. This produced two ESLint warnings on line 7: - Unsafe spread of an error typed value - Unsafe member access .configs on an unresolvable type Installing the package resolves the module type and eliminates both warnings.
23 lines
618 B
JSON
23 lines
618 B
JSON
{
|
|
"name": "docdrop",
|
|
"version": "1.1.0",
|
|
"description": "Obsidian plugin: convert PDFs to Markdown via Microsoft's markitdown",
|
|
"main": "main.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc --noEmit --skipLibCheck && node esbuild.config.mjs production",
|
|
"lint": "eslint \"**/*.ts\""
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"obsidian": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.19.19",
|
|
"@typescript-eslint/parser": "^8.59.1",
|
|
"esbuild": "^0.25.5",
|
|
"eslint-plugin-obsidianmd": "^0.3.0",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|