Port all IPC handlers to HTTP endpoints so the UI and LLM use the same API. Adds routes/projects.js (scan, compare, init), routes/servers.js (CRUD, containers, logs), routes/docker.js (build, deploy, pull, vscode-diff). Enhanced ssh.js with full SSHService class (SFTP upload/download). Updated renderer api.js to use fetch instead of window.api IPC. Added concurrently for npm run dev (API + Vite + Electron). OpenAPI spec now covers all 24 endpoints. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "docker-deployment-manager",
|
|
"version": "1.0.0",
|
|
"description": "Automated Docker deployment system for containerizing and deploying 35+ projects from Windows to Linux",
|
|
"main": "cli/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "concurrently -n api,vite,electron -c blue,green,magenta \"npm run api:dev\" \"npm run vite:dev\" \"npm run electron:dev\"",
|
|
"dev:no-electron": "concurrently -n api,vite -c blue,green \"npm run api:dev\" \"npm run vite:dev\"",
|
|
"api": "node api/server.js",
|
|
"api:dev": "node --watch api/server.js",
|
|
"vite:dev": "cd app/renderer && npx vite",
|
|
"electron:dev": "npx wait-on http://localhost:5173 && electron app/main/index.js --dev",
|
|
"docker-deploy": "node cli/index.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [
|
|
"docker",
|
|
"deployment",
|
|
"automation",
|
|
"containerization",
|
|
"gitea"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@scalar/express-api-reference": "^0.8.46",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^12.1.0",
|
|
"concurrently": "^9.2.1",
|
|
"cors": "^2.8.6",
|
|
"express": "^5.2.1",
|
|
"glob": "^11.0.0",
|
|
"handlebars": "^4.7.8",
|
|
"inquirer": "^11.1.0",
|
|
"ssh2": "^1.16.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|