firstsun-dev_git-files-sync/package.json
ClaudiaFang 8f7207a388 fix(test): add @types/jsdom and fix Element type cast in setup-dom
jsdom v29 uses exports field for types, incompatible with moduleResolution
"node" in CI — adding @types/jsdom provides standalone type declarations.
Cast el to HTMLInputElement directly instead of instanceof window.HTMLInputElement
to avoid unresolvable type narrowing across jsdom window context.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 08:59:05 +00:00

50 lines
1.5 KiB
JSON

{
"name": "git-file-sync",
"version": "1.0.5",
"description": "Selectively sync individual notes with GitLab or GitHub. Push, pull, diff, and resolve conflicts — file by file, on mobile and desktop.",
"main": "main.js",
"type": "module",
"author": "ClaudiaFang",
"repository": "github:firstsun-dev/git-files-sync",
"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",
"lint": "eslint .",
"test": "vitest run",
"test:ui": "vitest --ui",
"prepare": "husky",
"semantic-release": "semantic-release"
},
"keywords": [],
"license": "MIT",
"devDependencies": {
"@eslint/js": "9.30.1",
"@eslint/json": "0.14.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.6",
"@types/jsdom": "^28.0.3",
"@types/node": "^24.0.0",
"@vitest/coverage-v8": "^4.1.5",
"@vitest/ui": "^4.1.2",
"conventional-changelog-conventionalcommits": "^9.3.1",
"esbuild": "0.28.0",
"eslint-plugin-obsidianmd": "0.1.9",
"eslint-plugin-sonarjs": "^4.0.3",
"globals": "14.0.0",
"husky": "^9.1.7",
"jiti": "2.6.1",
"jsdom": "^29.0.1",
"semantic-release": "^25.0.3",
"tslib": "2.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "8.35.1",
"vitest": "^4.1.2"
},
"dependencies": {
"ignore": "^7.0.5",
"obsidian": "latest"
}
}