refactor: restructure to monorepo with apps and packages directories - Move companion app to apps/companion with electron-vite - Move domain/application/infrastructure to packages/ - Fix ELECTRON_RUN_AS_NODE env var issue for VS Code terminal - Remove legacy esbuild bundler (replaced by electron-vite) - Update workspace scripts in root package.json
This commit is contained in:
29
apps/companion/package.json
Normal file
29
apps/companion/package.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "@gridpilot/companion",
|
||||
"version": "0.1.0",
|
||||
"description": "GridPilot Companion - Electron app for iRacing automation",
|
||||
"main": "dist/main/main.cjs",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "unset ELECTRON_RUN_AS_NODE && electron-vite dev",
|
||||
"build": "electron-vite build",
|
||||
"preview": "unset ELECTRON_RUN_AS_NODE && electron-vite preview",
|
||||
"start": "unset ELECTRON_RUN_AS_NODE && electron ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.10.2",
|
||||
"@types/react": "^18.2.0",
|
||||
"@types/react-dom": "^18.2.0",
|
||||
"@vitejs/plugin-react": "^4.2.0",
|
||||
"electron": "^28.3.3",
|
||||
"electron-vite": "^2.3.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^5.4.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nut-tree-fork/nut-js": "^4.2.6",
|
||||
"puppeteer-core": "^24.31.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user