{ "name": "genieacs-editor", "displayName": "GenieACS Script Editor", "description": "Connect to GenieACS, browse and edit provisioning scripts with full JavaScript support", "version": "0.1.0", "publisher": "targo", "engines": { "vscode": "^1.85.0" }, "categories": ["Other"], "repository": { "type": "git", "url": "https://github.com/targo/genieacs-editor" }, "activationEvents": [], "main": "./dist/extension.js", "contributes": { "configuration": { "title": "GenieACS", "properties": { "genieacs.serverUrl": { "type": "string", "default": "http://localhost:7557", "description": "GenieACS NBI base URL (e.g. http://localhost:7557)" }, "genieacs.username": { "type": "string", "default": "", "description": "GenieACS username (leave empty if no auth)" }, "genieacs.password": { "type": "string", "default": "", "description": "GenieACS password" } } }, "viewsContainers": { "activitybar": [ { "id": "genieacs-explorer", "title": "GenieACS", "icon": "media/genieacs.svg" } ] }, "views": { "genieacs-explorer": [ { "id": "genieacsScripts", "name": "Provisioning Scripts" } ] }, "commands": [ { "command": "genieacs.refresh", "title": "Refresh", "icon": "$(refresh)", "category": "GenieACS" }, { "command": "genieacs.openScript", "title": "Open Script", "category": "GenieACS" }, { "command": "genieacs.newScript", "title": "New Script", "icon": "$(add)", "category": "GenieACS" }, { "command": "genieacs.deleteScript", "title": "Delete Script", "icon": "$(trash)", "category": "GenieACS" }, { "command": "genieacs.renameScript", "title": "Rename Script", "category": "GenieACS" }, { "command": "genieacs.configure", "title": "Configure Server", "icon": "$(settings-gear)", "category": "GenieACS" }, { "command": "genieacs.testConnection", "title": "Test Connection (Diagnostics)", "category": "GenieACS" } ], "menus": { "view/title": [ { "command": "genieacs.refresh", "when": "view == genieacsScripts", "group": "navigation" }, { "command": "genieacs.newScript", "when": "view == genieacsScripts", "group": "navigation" }, { "command": "genieacs.configure", "when": "view == genieacsScripts", "group": "navigation" } ], "view/item/context": [ { "command": "genieacs.deleteScript", "when": "view == genieacsScripts && viewItem == script", "group": "inline" }, { "command": "genieacs.renameScript", "when": "view == genieacsScripts && viewItem == script", "group": "1_modification" }, { "command": "genieacs.deleteScript", "when": "view == genieacsScripts && viewItem == script", "group": "1_modification" } ] }, "languages": [ { "id": "genieacs-script", "aliases": ["GenieACS Script"], "extensions": [] } ] }, "scripts": { "vscode:prepublish": "npm run build", "build": "node esbuild.js --production", "watch": "node esbuild.js --watch", "compile": "tsc --noEmit", "package": "vsce package" }, "devDependencies": { "@types/node": "^20.0.0", "@types/vscode": "^1.85.0", "esbuild": "^0.20.0", "typescript": "^5.3.0" } }