mirror of
https://github.com/edems-dev/md-discord-syntax.git
synced 2026-07-22 08:37:37 +00:00
- Changed plugin ID to md-discord-syntax across manifests, validation, package metadata, and release instructions. - Resolved TypeScript unsafe-value warnings through correct typed ESLint configuration and source typing. - Replaced flagged document.createElement usage with Obsidian createEl. - Addressed text-decoration compatibility warnings. - Optimized spoiler detection to inspect only relevant document lines instead of allocating the full document text. - Updated tests for strict type safety and promise handling.
28 lines
733 B
JSON
28 lines
733 B
JSON
{
|
|
"name": "md-discord-syntax",
|
|
"version": "1.0.22",
|
|
"description": "Discord Syntax Obsidian plugin adapter",
|
|
"private": true,
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"build": "node esbuild.config.mjs",
|
|
"dev": "node esbuild.config.mjs --watch",
|
|
"test": "npx tsx --test tests/*.test.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"author": "Edems-DEV",
|
|
"license": "GPL-3.0",
|
|
"dependencies": {
|
|
"@edems-dev/md-discord-syntax-core": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@codemirror/language": "^6.10.0",
|
|
"@codemirror/state": "^6.4.0",
|
|
"@codemirror/view": "^6.23.0",
|
|
"@types/node": "^20.11.0",
|
|
"esbuild": "^0.21.5",
|
|
"obsidian": "^1.5.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|