69 lines
2.1 KiB
JSON
69 lines
2.1 KiB
JSON
{
|
|
"name": "tkinter-designer",
|
|
"displayName": "Tkinter Visual Designer",
|
|
"description": "Visual drag-and-drop designer for Python tkinter GUI applications",
|
|
"version": "0.1.0",
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:tkinter-designer.openDesigner"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "tkinter-designer.openDesigner",
|
|
"title": "Open Tkinter Designer",
|
|
"category": "Tkinter"
|
|
},
|
|
{
|
|
"command": "tkinter-designer.generateCode",
|
|
"title": "Generate Python Code",
|
|
"category": "Tkinter"
|
|
},
|
|
{
|
|
"command": "tkinter-designer.parseCode",
|
|
"title": "Parse Tkinter Code",
|
|
"category": "Tkinter"
|
|
}
|
|
],
|
|
"menus": {
|
|
"explorer/context": [
|
|
{
|
|
"command": "tkinter-designer.openDesigner",
|
|
"when": "resourceExtname == .py",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./ && npm run copy-python-files && npm run build:webview",
|
|
"copy-python-files": "node scripts/copy_python_files.js",
|
|
"build:webview": "node scripts/build_webview.js",
|
|
"watch": "tsc -watch -p ./",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\""
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "16.x",
|
|
"@types/react": "^18.3.26",
|
|
"@types/react-dom": "^18.3.7",
|
|
"@types/vscode": "^1.74.0",
|
|
"esbuild": "^0.21.5",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"prettier": "^3.6.2",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|