- 编辑器逐字移植自 iwb-plaus/iwb-cutout-extension(11 模块 + 2 个 shared 文件,纯 Canvas 2D、零第三方库) - plugin/ 存 ESM 源码,src/index.js 是构建产物(提交进仓,CI 只校验不构建) - scripts/build-plugin.mjs:esbuild 打包 + banner/footer 手写单引号 manifest + 产物自检 - 能力 commands / nodeActions / canvas / canvasWrite;入口 = 节点漂浮菜单 + 右键命令 - 导出模式按编辑器字面量映射:replace → setNodeImage,newNode → createImageNode
12 lines
295 B
JSON
12 lines
295 B
JSON
{
|
||
"name": "@iwb-plugin/image-annotate",
|
||
"private": true,
|
||
"version": "1.0.0",
|
||
"description": "IWB 插件:图片标注 / 修图(编辑器移植自 iwb-plaus 扩展,纯 Canvas 2D)",
|
||
"ibwPlugin": {
|
||
"id": "image-annotate",
|
||
"entry": "src/index.js",
|
||
"apiVersion": 1
|
||
}
|
||
}
|