editor/apps/cli/package.json
konstantin-paulus 6579490978 Update CLI and Electron integration with tRPC and WebSocket enhancements
Refactor the CLI and Electron communication to utilize tRPC for improved type safety and structure. Introduce WebSocket support for direct communication between the CLI and renderer, enhancing performance and responsiveness. Update various CLI commands to leverage the new editor API for asset management, folder operations, and project handling. Additionally, enhance TypeScript configurations and dependencies for better development experience. This update streamlines the overall architecture and improves user interaction with the CLI.
2026-07-09 10:54:07 +02:00

36 lines
1.1 KiB
JSON

{
"name": "@diffusionstudio/cli",
"private": true,
"version": "0.129.0",
"license": "MPL-2.0",
"bin": {
"dapi": "./dist/index.js"
},
"exports": {
"./protocol": "./src/protocol.ts",
"./channels": "./src/cli-channels.ts"
},
"scripts": {
"build": "esbuild src/index.ts --bundle --platform=node --format=cjs --external:esbuild --external:@babel/core --external:@babel/preset-typescript --external:babel-preset-solid --external:bufferutil --external:utf-8-validate --outfile=dist/index.js && chmod +x dist/index.js",
"check": "tsc --noEmit",
"symlink:remove": "rm -f /opt/homebrew/bin/dapi",
"symlink:create": "npm run build && ln -sf \"$PWD/dist/index.js\" /opt/homebrew/bin/dapi"
},
"dependencies": {
"@babel/core": "^7.29.7",
"@trpc/client": "^11.18.0",
"@trpc/server": "^11.18.0",
"@babel/preset-typescript": "^7.27.1",
"babel-preset-solid": "^1.9.12",
"commander": "^14.0.3",
"esbuild": "^0.28.1",
"ws": "^8.18.3"
},
"devDependencies": {
"@types/babel__core": "^7.20.5",
"@types/node": "^24.10.1",
"@types/ws": "^8.18.1",
"typescript": "~5.9.3"
}
}