creo-create-electron-app
v0.2.5
Published
CLI scaffolding tool for [Creo](../../README.md) + [Electron](https://www.electronjs.org) cross-platform desktop apps. Creates a ready-to-run Electron application with Creo as the UI framework.
Downloads
339
Readme
creo-create-electron-app
CLI scaffolding tool for Creo + Electron cross-platform desktop apps. Creates a ready-to-run Electron application with Creo as the UI framework.
Usage
bunx creo-create-electron-app my-appOr without a name (will be prompted):
bunx creo-create-electron-appInteractive Setup
The CLI asks:
- Project name — directory name and package name (skipped if passed as argument)
- Target platforms — multi-select from: macOS, Windows, Linux
What Gets Generated
my-app/
├── package.json # Creo + Electron deps, dev/build scripts
├── tsconfig.json
├── vite.config.ts # Vite + vite-plugin-electron
├── index.html # Renderer entry
├── electron-builder.json # Packaging config per target
├── src/
│ ├── main.ts # Creo renderer bootstrap
│ └── app.ts # Example counter view
└── electron/
├── main.ts # Main process — BrowserWindow
└── preload.ts # contextBridge preloadGetting Started
cd my-app
bun install
bun run dev # Dev with hot reload
bun run build # Produce packaged binaries in release/