sbuffkin_hexmaker/package.json
isaprettycoolguy@protonmail.com 96eef77ffa fix Obsidian reviewer lint errors; add lint to rebuild flow; bump to 1.0.28
- Remove unnecessary type assertions in IconPickerModal (createEl("input") already returns HTMLInputElement)
- Fix sentence-case violation: "Remove GM icon" → "Remove icon" in HexEditorModal tooltip
- Annotate frontmatter["region"] accesses as unknown to satisfy no-unsafe-assignment
- Wire npm run lint into /rebuild command so issues are caught locally before submission
- Document no-unnecessary-type-assertion and mid-sentence acronym patterns in /lint guidance

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 08:49:51 -04:00

42 lines
1.5 KiB
JSON

{
"name": "hexmaker-plugin",
"version": "1.0.28",
"description": "A plugin to power hex crawl worldbuilding and running.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"test": "tsx --tsconfig ./tsconfig.test.json --import ./tests/register.mjs --test tests/frontmatter.test.ts tests/hexEditorModal.test.ts tests/randomTable.test.ts tests/sections.test.ts tests/utils.test.ts tests/workflow.test.ts",
"test:watch": "tsx --tsconfig ./tsconfig.test.json --import ./tests/register.mjs --test --watch tests/frontmatter.test.ts tests/hexEditorModal.test.ts tests/randomTable.test.ts tests/sections.test.ts tests/utils.test.ts tests/workflow.test.ts",
"lint": "eslint . --ext .js,.ts"
},
"keywords": [
"obsidian",
"plugin"
],
"author": "Mark B",
"license": "MIT",
"devDependencies": {
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/language-data": "^6.5.2",
"@codemirror/state": "6.5.0",
"@codemirror/view": "6.38.6",
"@eslint/js": "^9.30.1",
"@types/node": "^25.5.0",
"esbuild": "0.27.4",
"eslint": "^9.30.1",
"eslint-plugin-obsidianmd": "^0.1.9",
"expect": "^30.3.0",
"globals": "^17.4.0",
"jiti": "^2.6.1",
"obsidian": "latest",
"tslib": "2.8.1",
"tsx": "^4.21.0",
"typescript": "6.0.2",
"typescript-eslint": "^8.58.0"
},
"dependencies": {
"minisearch": "^7.2.0"
}
}