Files
figma-ai-plugin/package.json
T
Hermes 6c7be98a82 feat: relaunch button in right panel + drag-resize window
- package.json: add relaunchButtons (runAI) for right-panel shortcut
- main.ts: setRelaunchData + RESIZE_WINDOW handler (figma.ui.resize)
- ui.tsx: useWindowResize native drag handle + expand/collapse toggle
- .gitignore: exclude _reference/ (temp old-plugin copy)
- IDEA.md: commit+push to Gitea is mandatory workflow
2026-09-09 12:38:13 +02:00

35 lines
855 B
JSON

{
"name": "figma-ai-plugin",
"version": "0.1.0",
"private": true,
"dependencies": {
"@create-figma-plugin/ui": "^4.0.3",
"@create-figma-plugin/utilities": "^4.0.3",
"preact": ">=10"
},
"devDependencies": {
"@create-figma-plugin/build": "^4.0.3",
"@create-figma-plugin/tsconfig": "^4.0.3",
"@figma/plugin-typings": "1.109.0",
"typescript": "~5.6.3"
},
"scripts": {
"build": "build-figma-plugin --typecheck --minify",
"watch": "build-figma-plugin --typecheck --watch"
},
"figma-plugin": {
"editorType": ["figma"],
"id": "ai-plugin-mvp",
"name": "AI assistant (MVP)",
"main": "src/main.ts",
"ui": "src/ui.tsx",
"relaunchButtons": {
"runAI": {
"name": "Запустить AI assistant",
"main": "src/main.ts",
"ui": "src/ui.tsx"
}
}
}
}