mirror of
https://github.com/aliir74/copy-image-hotkey.git
synced 2026-07-22 06:50:36 +00:00
ObsidianReviewBot flags on PR #12468: - onload was async with no await; dropped the modifier - preloadImageBlob used fetch (forbidden in plugins; should use requestUrl). Removed the preload optimization entirely — the vault-read path on copy is fast enough on its own. - catch (e) bindings tightened. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
949 B
JSON
39 lines
949 B
JSON
{
|
|
"name": "copy-image-hotkey",
|
|
"version": "0.1.2",
|
|
"description": "Cmd+C copies the actual image when an image embed is selected in source mode.",
|
|
"main": "main.js",
|
|
"type": "module",
|
|
"author": "Ali Irani",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/aliir74/copy-image-hotkey.git"
|
|
},
|
|
"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 ."
|
|
},
|
|
"keywords": [
|
|
"obsidian",
|
|
"obsidian-plugin",
|
|
"clipboard",
|
|
"image"
|
|
],
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.6",
|
|
"esbuild": "0.25.5",
|
|
"eslint-plugin-obsidianmd": "0.1.9",
|
|
"globals": "14.0.0",
|
|
"tslib": "2.4.0",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "8.35.1",
|
|
"@eslint/js": "9.30.1",
|
|
"jiti": "2.6.1"
|
|
},
|
|
"dependencies": {
|
|
"obsidian": "latest"
|
|
}
|
|
}
|