Files
gridpilot.gg/package.json

52 lines
1.9 KiB
JSON

{
"name": "gridpilot",
"version": "0.1.0",
"private": true,
"description": "GridPilot - Clean Architecture monorepo for web platform and Electron companion app",
"engines": {
"node": ">=20.0.0"
},
"workspaces": [
"src/packages/*",
"src/apps/*"
],
"scripts": {
"dev": "echo 'Development server placeholder - to be configured'",
"build": "echo 'Build all packages placeholder - to be configured'",
"test": "vitest run",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:e2e": "vitest run tests/e2e",
"test:watch": "vitest watch",
"typecheck": "tsc --noEmit",
"companion": "npm run companion:build && electron .",
"companion:dev": "npm run companion:build && (node build-main.config.js --watch & vite build --config vite.config.electron.ts --watch & electron .)",
"companion:build": "node build-main.config.js && vite build --config vite.config.electron.ts",
"companion:start": "electron .",
"companion:mock": "AUTOMATION_MODE=mock npm run companion:start",
"companion:devtools": "AUTOMATION_MODE=dev npm run companion:start",
"companion:production": "AUTOMATION_MODE=production npm run companion:start",
"chrome:debug": "open -a 'Google Chrome' --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
},
"devDependencies": {
"@cucumber/cucumber": "^11.0.1",
"@types/node": "^22.10.2",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/ui": "^2.1.8",
"electron": "^39.2.3",
"esbuild": "^0.27.0",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vitest": "^2.1.8"
},
"dependencies": {
"@nut-tree-fork/nut-js": "^4.2.6",
"puppeteer-core": "^24.31.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"main": "dist/main/apps/companion/main/index.js"
}