{
  "name": "automaker",
  "version": "1.0.0",
  "private": true,
  "workspaces": [
    "apps/*",
    "libs/*"
  ],
  "scripts": {
    "postinstall": "node -e \"const fs=require('fs');if(process.platform==='darwin'){['darwin-arm64','darwin-x64'].forEach(a=>{const p='node_modules/node-pty/prebuilds/'+a+'/spawn-helper';if(fs.existsSync(p))fs.chmodSync(p,0o755)})}\" && node scripts/fix-lockfile-urls.mjs",
    "fix:lockfile": "node scripts/fix-lockfile-urls.mjs",
    "dev": "node init.mjs",
    "_dev:web": "npm run dev:web --workspace=apps/ui",
    "_dev:electron": "npm run dev:electron --workspace=apps/ui",
    "_dev:electron:debug": "npm run dev:electron:debug --workspace=apps/ui",
    "_dev:electron:wsl": "npm run dev:electron:wsl --workspace=apps/ui",
    "_dev:electron:wsl:gpu": "npm run dev:electron:wsl:gpu --workspace=apps/ui",
    "_dev:server": "npm run dev --workspace=apps/server",
    "dev:web": "npm run build:packages && npm run _dev:web",
    "dev:electron": "npm run build:packages && npm run _dev:electron",
    "dev:electron:debug": "npm run build:packages && npm run _dev:electron:debug",
    "dev:electron:wsl": "npm run build:packages && npm run _dev:electron:wsl",
    "dev:electron:wsl:gpu": "npm run build:packages && npm run _dev:electron:wsl:gpu",
    "dev:server": "npm run build:packages && npm run _dev:server",
    "dev:full": "npm run build:packages && concurrently \"npm run _dev:server\" \"npm run _dev:web\"",
    "build": "npm run build:packages && npm run build --workspace=apps/ui",
    "build:packages": "npm run build -w @automaker/types && npm run build -w @automaker/platform && npm run build -w @automaker/utils && npm run build -w @automaker/prompts -w @automaker/model-resolver -w @automaker/dependency-resolver && npm run build -w @automaker/git-utils",
    "build:server": "npm run build:packages && npm run build --workspace=apps/server",
    "build:electron": "npm run build:packages && npm run build:electron --workspace=apps/ui",
    "build:electron:dir": "npm run build:packages && npm run build:electron:dir --workspace=apps/ui",
    "build:electron:win": "npm run build:packages && npm run build:electron:win --workspace=apps/ui",
    "build:electron:win:dir": "npm run build:packages && npm run build:electron:win:dir --workspace=apps/ui",
    "build:electron:mac": "npm run build:packages && npm run build:electron:mac --workspace=apps/ui",
    "build:electron:mac:dir": "npm run build:packages && npm run build:electron:mac:dir --workspace=apps/ui",
    "build:electron:linux": "npm run build:packages && npm run build:electron:linux --workspace=apps/ui",
    "build:electron:linux:dir": "npm run build:packages && npm run build:electron:linux:dir --workspace=apps/ui",
    "lint": "npm run lint --workspace=apps/ui",
    "test": "npm run test --workspace=apps/ui",
    "test:headed": "npm run test:headed --workspace=apps/ui",
    "test:server": "npm run test --workspace=apps/server",
    "test:server:coverage": "npm run test:cov --workspace=apps/server",
    "test:packages": "npm run test -w @automaker/types -w @automaker/utils -w @automaker/prompts -w @automaker/platform -w @automaker/model-resolver -w @automaker/dependency-resolver -w @automaker/git-utils --if-present",
    "test:all": "npm run test:packages && npm run test:server",
    "lint:lockfile": "! grep -q 'git+ssh://' package-lock.json || (echo 'Error: package-lock.json contains git+ssh:// URLs. Run: git config --global url.\"https://github.com/\".insteadOf \"git@github.com:\"' && exit 1)",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "prepare": "husky && npm run build:packages"
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx,json,css,md,html,yml,yaml}": [
      "prettier --write"
    ]
  },
  "dependencies": {
    "cross-spawn": "^7.0.6",
    "rehype-sanitize": "^6.0.0",
    "tree-kill": "^1.2.2"
  },
  "devDependencies": {
    "husky": "^9.1.7",
    "lint-staged": "^16.2.7",
    "prettier": "^3.7.4"
  }
}
