svm0n_datadeck/package.json
SVM0N 9ca0bf1a0e chore(release): v1.7.1 — community-plugin review fixes
Addresses the automated review's warnings: !important overrides
resolved via higher-specificity selectors (a handful of legitimate
overrides of Obsidian's own core .modal chrome are kept, since they
guard against unowned CSS loaded after the plugin), a :has() selector
replaced with a JS-toggled class, duplicate-property fallback chains
rewritten with @supports, TFile casts routed through an instanceof
fast path, and a couple of narrow, justified exceptions left as-is
(a proper-noun tooltip, a createEl helper that isn't stubbed in the
test harness). Bumped the obsidian devDependency to pick up current
types along the way.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 13:30:02 +08:00

36 lines
1.3 KiB
JSON

{
"name": "datadeck",
"version": "1.7.1",
"description": "DataDeck: XLSX/CSV multi-view plugin for Obsidian",
"main": "main.js",
"scripts": {
"build": "node esbuild.config.mjs",
"dev": "node esbuild.config.mjs --watch",
"deploy": "cp main.js styles.css manifest.json datadeck/ && cp main.js styles.css manifest.json datadeck-work/",
"build:deploy": "npm run build && npm run deploy",
"test": "node test-plugin-logic.mjs",
"test:csv": "node test-csv-parser.mjs",
"test:view": "node test-view-smoke.mjs",
"test:all": "node test-csv-parser.mjs && node test-plugin-logic.mjs && node test-view-smoke.mjs",
"typecheck": "tsc --noEmit",
"lint": "eslint main.ts \"src/**/*.ts\"",
"check": "npm run typecheck && npm run test:all && npm run lint && npm run build:deploy",
"reload": "obsidian plugin:reload id=datadeck",
"errors": "obsidian dev:errors"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@typescript-eslint/parser": "^8.64.0",
"esbuild": "^0.19.0",
"eslint": "^9.39.5",
"eslint-plugin-obsidianmd": "^0.4.1",
"jsdom": "^29.1.1",
"obsidian": "^1.13.1",
"typescript": "^5.0.0"
},
"dependencies": {
"@types/papaparse": "^5.5.2",
"chart.js": "^4.5.1",
"papaparse": "^5.5.3"
}
}