An application for desktop and web with electron-vite and vite using React and TypeScript. This repository contains a simple monorepo using npm. The src/renderer folder builds using vite to create a web app. The root builds using electron-vite and builds a desktop app for Windows, Linux or a Mac such that src/renderer is the UI for the desktop app.
Desktop builds based on electron-vite
$ npm install
$ npm run stampSelect a channel using ONE of these three commands (you'll need the appropriate secrets files in env-config).
$ npm run devs
$ npm run qas
$ npm run prods$ npm start$ npm run lint$ npm run format# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linuxIn order to test and debug web app, launch visual studio code from the src/renderer folder. (There is a readme there with the commands to use.)