Launches the built app (out/main/index.js) via Playwright's _electron API — no browser project, no chromium download. Adds a launch fixture (electronApp/window/app), an AppPage page object with a screenshot helper for autonomous visual review, and a boot smoke suite (shell renders, @commitea/core label-parse runs in the renderer, preload API exposed). Scripts: e2e (build+run), e2e:only, e2e:report. Artifacts gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
35 lines
947 B
JSON
35 lines
947 B
JSON
{
|
|
"name": "@commitea/desktop",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./out/main/index.js",
|
|
"scripts": {
|
|
"dev": "electron-vite dev 2>&1 | tee desktop.log",
|
|
"build": "electron-vite build",
|
|
"start": "electron-vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"e2e": "electron-vite build && playwright test",
|
|
"e2e:only": "playwright test",
|
|
"e2e:report": "playwright show-report e2e/.artifacts/report"
|
|
},
|
|
"dependencies": {
|
|
"@commitea/core": "workspace:*",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.61.1",
|
|
"@types/node": "^22.13.1",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.20",
|
|
"electron": "^34.0.0",
|
|
"electron-vite": "^3.1.0",
|
|
"postcss": "^8.5.1",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5.7.3",
|
|
"vite": "^6.1.0"
|
|
}
|
|
}
|