Files
obsidian-typst-pdf-export/package.json
T
AlexKucera 2c4076f3c9 Applies Obsidian linter and fixes code issues
Applies linting rules to the codebase and resolves identified issues.

Addresses:
- Renamed headings in settings tabs to improve UI consistency and style.
- Resolved require() style imports
- Added void operator to ensure correct promise handling.
- Replaced deprecated Obsidian API calls.
- Enforces sentence case to enhance UI text consistency.
2025-11-05 13:46:06 +01:00

57 lines
1.5 KiB
JSON

{
"name": "obsidian-typst-pdf-export",
"version": "1.3.0",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"main": "main.js",
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint src/ main.ts",
"dev": "npm run typecheck && node esbuild.config.mjs",
"build": "npm run typecheck && npm run lint && node esbuild.config.mjs production",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"package": "node scripts/package-plugin.js",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [
"pdf",
"export",
"typst",
"obsidian-plugin",
"typesetting"
],
"author": "Alexander Kucera",
"license": "MIT",
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.34.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.19.24",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@typescript-eslint/utils": "^8.46.3",
"@vitest/coverage-v8": "^4.0.6",
"@vitest/ui": "^4.0.6",
"archiver": "^7.0.1",
"builtin-modules": "3.3.0",
"electron": "^33.3.0",
"esbuild": "0.17.3",
"eslint": "^9.39.1",
"eslint-plugin-obsidianmd": "^0.1.8",
"globals": "^16.3.0",
"happy-dom": "^20.0.10",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0",
"vitest": "^4.0.6"
},
"dependencies": {
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"pdf-to-img": "^4.5.0"
}
}