16 lines
961 B
JSON
16 lines
961 B
JSON
{
|
|
"name": "agent-ui",
|
|
"version": "1.0.0",
|
|
"description": "Dynamic canvas for Claude Code interaction",
|
|
"scripts": {
|
|
"kill-ports": "node -e \"const {execSync} = require('child_process'); [4101,4102,4103,4105].forEach(p => { try { const pid = execSync('netstat -ano | findstr :' + p + ' | findstr LISTENING', {encoding:'utf8'}).split(/\\s+/).pop().trim(); if(pid) execSync('taskkill /PID ' + pid + ' /F', {stdio:'ignore'}); } catch(e){} }); console.log('Ports cleared (4104/whisper preserved)');\"",
|
|
"start": "bun run kill-ports && concurrently -n api,terminal,frontend -c blue,yellow,green \"cd server && bun --watch run index.ts\" \"cd server && bun run terminal.ts\" \"cd frontend && bun run dev --host\"",
|
|
"start:api": "cd server && bun --watch run index.ts",
|
|
"start:terminal": "cd server && bun run terminal.ts",
|
|
"start:frontend": "cd frontend && bun run dev --host"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.1"
|
|
}
|
|
}
|