Files
gridpilot.gg/package.json
2025-12-04 11:54:42 +01:00

75 lines
3.4 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": [
"packages/*",
"apps/*"
],
"scripts": {
"dev": "echo 'Development server placeholder - to be configured'",
"build": "echo 'Build all packages placeholder - to be configured'",
"test": "vitest run && vitest run --config vitest.e2e.config.ts && npm run smoke:website",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:e2e:docker": "vitest run --config vitest.e2e.config.ts tests/e2e/docker/",
"test:watch": "vitest watch",
"test:smoke": "vitest run --config vitest.smoke.config.ts",
"test:smoke:watch": "vitest watch --config vitest.smoke.config.ts",
"test:smoke:electron": "playwright test --config=playwright.smoke.config.ts",
"smoke:website": "npm run website:build && npx playwright test -c playwright.website.config.ts",
"test:hosted-real": "vitest run --config vitest.e2e.config.ts tests/e2e/hosted-real/",
"test:companion-hosted": "vitest run --config vitest.e2e.config.ts tests/e2e/companion/companion-ui-full-workflow.e2e.test.ts",
"typecheck": "tsc --noEmit",
"test:types": "tsc --noEmit -p tsconfig.tests.json",
"companion": "npm run companion:build --workspace=@gridpilot/companion && npm run start --workspace=@gridpilot/companion",
"companion:dev": "npm run dev --workspace=@gridpilot/companion",
"companion:build": "npm run build --workspace=@gridpilot/companion",
"companion:start": "npm run start --workspace=@gridpilot/companion",
"website:dev": "npm run dev --workspace=@gridpilot/website",
"website:build": "npm run build --workspace=@gridpilot/website",
"website:start": "npm run start --workspace=@gridpilot/website",
"website:lint": "npm run lint --workspace=@gridpilot/website",
"website:type-check": "npm run type-check --workspace=@gridpilot/website",
"website:clean": "npm run clean --workspace=@gridpilot/website",
"chrome:debug": "open -a 'Google Chrome' --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug",
"docker:e2e:up": "docker-compose -f docker/docker-compose.e2e.yml up -d",
"docker:e2e:down": "docker-compose -f docker/docker-compose.e2e.yml down",
"generate-templates": "npx tsx scripts/generate-templates/index.ts",
"minify-fixtures": "npx tsx scripts/minify-fixtures.ts",
"minify-fixtures:force": "npx tsx scripts/minify-fixtures.ts --force",
"dom:process": "npx tsx scripts/dom-export/processWorkflows.ts",
"prepare": "husky"
},
"devDependencies": {
"@cucumber/cucumber": "^11.0.1",
"@playwright/test": "^1.57.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/jsdom": "^27.0.0",
"@types/node": "^24.10.1",
"@vitest/ui": "^2.1.8",
"cheerio": "^1.0.0",
"commander": "^11.0.0",
"electron": "^22.3.25",
"husky": "^9.1.7",
"jsdom": "^22.1.0",
"prettier": "^3.0.0",
"puppeteer": "^24.31.0",
"ts-node": "^10.9.2",
"tsx": "^4.7.0",
"typescript": "^5.9.3",
"vitest": "^2.1.8"
},
"dependencies": {
"playwright-extra": "^4.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"@gridpilot/social": "file:packages/social"
}
}