{
    "name": "next-ai-draw-io",
    "version": "0.4.16",
    "license": "Apache-2.0",
    "private": true,
    "main": "dist-electron/main/index.js",
    "scripts": {
        "dev": "next dev --turbopack --port 6002",
        "build": "next build",
        "start": "next start --port 6001",
        "lint": "biome lint .",
        "format": "biome check --write .",
        "check": "biome ci",
        "prepare": "husky",
        "preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview",
        "deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy",
        "upload": "opennextjs-cloudflare build && opennextjs-cloudflare upload",
        "cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts",
        "electron:dev": "node scripts/electron-dev.mjs",
        "electron:build": "npm run build && npm run electron:compile",
        "electron:compile": "npx esbuild electron/main/index.ts electron/preload/index.ts electron/preload/settings.ts --bundle --platform=node --outdir=dist-electron --external:electron --sourcemap --packages=external && npx shx cp -r electron/settings dist-electron/",
        "electron:start": "npx cross-env NODE_ENV=development npx electron .",
        "electron:prepare": "node scripts/prepare-electron-build.mjs",
        "dist": "npm run electron:build && npm run electron:prepare && npx electron-builder --config electron/electron-builder.yml",
        "dist:mac": "npm run electron:build && npm run electron:prepare && npx electron-builder --config electron/electron-builder.yml --mac",
        "dist:win": "npm run electron:build && npm run electron:prepare && npx electron-builder --config electron/electron-builder.yml --win",
        "dist:win:build": "npm run electron:build && npm run electron:prepare && npx electron-builder --config electron/electron-builder.yml --win --publish never",
        "dist:linux": "npm run electron:build && npm run electron:prepare && npx electron-builder --config electron/electron-builder.yml --linux",
        "dist:all": "npm run electron:build && npm run electron:prepare && npx electron-builder --config electron/electron-builder.yml --mac --win --linux",
        "test": "vitest",
        "test:e2e": "playwright test"
    },
    "dependencies": {
        "@ai-sdk/amazon-bedrock": "^5.0.0",
        "@ai-sdk/anthropic": "^4.0.0",
        "@ai-sdk/azure": "^4.0.0",
        "@ai-sdk/deepseek": "^3.0.0",
        "@ai-sdk/gateway": "^4.0.0",
        "@ai-sdk/google": "^4.0.0",
        "@ai-sdk/google-vertex": "^5.0.0",
        "@ai-sdk/openai": "^4.0.0",
        "@ai-sdk/react": "^4.0.0",
        "@aihubmix/ai-sdk-provider": "^2.1.0",
        "@aws-sdk/client-dynamodb": "^3.957.0",
        "@aws-sdk/credential-providers": "^3.943.0",
        "@extractus/article-extractor": "^8.0.18",
        "@formatjs/intl-localematcher": "^0.8.0",
        "@langfuse/client": "^4.4.9",
        "@langfuse/otel": "^4.4.4",
        "@langfuse/tracing": "^4.4.9",
        "@next/third-parties": "^16.0.6",
        "@opennextjs/cloudflare": "^1.17.1",
        "@openrouter/ai-sdk-provider": "^3.0.0",
        "@opentelemetry/api": "^1.9.0",
        "@opentelemetry/exporter-trace-otlp-http": "^0.221.0",
        "@opentelemetry/sdk-trace-node": "^2.2.0",
        "@radix-ui/react-alert-dialog": "^1.1.15",
        "@radix-ui/react-collapsible": "^1.1.12",
        "@radix-ui/react-dialog": "^1.1.15",
        "@radix-ui/react-label": "^2.1.8",
        "@radix-ui/react-popover": "^1.1.15",
        "@radix-ui/react-scroll-area": "^1.2.3",
        "@radix-ui/react-select": "^2.2.6",
        "@radix-ui/react-slot": "^1.2.4",
        "@radix-ui/react-switch": "^1.2.6",
        "@radix-ui/react-tooltip": "^1.1.8",
        "@radix-ui/react-use-controllable-state": "^1.2.2",
        "@xmldom/xmldom": "^0.9.8",
        "ai": "^7.0.0",
        "base-64": "^1.0.0",
        "class-variance-authority": "^0.7.1",
        "clsx": "^2.1.1",
        "cmdk": "^1.1.1",
        "idb": "^8.0.3",
        "jsonrepair": "^3.13.1",
        "lucide-react": "^0.577.0",
        "motion": "^12.23.25",
        "nanoid": "^5.0.0",
        "negotiator": "^1.0.0",
        "next": "^16.0.7",
        "ollama-ai-provider-v2": "^4.0.0",
        "pako": "^2.1.0",
        "prism-react-renderer": "^2.4.1",
        "react": "^19.1.2",
        "react-dom": "^19.1.2",
        "react-drawio": "^1.0.3",
        "react-icons": "^5.5.0",
        "react-markdown": "^10.1.0",
        "react-resizable-panels": "^3.0.6",
        "remark-gfm": "^4.0.1",
        "server-only": "^0.0.1",
        "sonner": "^2.0.7",
        "tailwind-merge": "^3.0.2",
        "tailwindcss-animate": "^1.0.7",
        "turndown": "^7.2.0",
        "unpdf": "^1.4.0",
        "zod": "^4.1.12"
    },
    "optionalDependencies": {
        "@tailwindcss/oxide-linux-x64-gnu": "^4.1.18",
        "lightningcss": "^1.30.2",
        "lightningcss-linux-x64-gnu": "^1.30.2"
    },
    "lint-staged": {
        "*.{js,ts,jsx,tsx,json,css}": [
            "biome check --write --no-errors-on-unmatched",
            "biome check --no-errors-on-unmatched"
        ]
    },
    "devDependencies": {
        "@anthropic-ai/tokenizer": "^0.0.4",
        "@biomejs/biome": "2.5.7",
        "@playwright/test": "^1.57.0",
        "@tailwindcss/postcss": "^4",
        "@tailwindcss/typography": "^0.5.19",
        "@testing-library/dom": "^10.4.1",
        "@testing-library/react": "^16.3.1",
        "@testing-library/user-event": "^14.6.1",
        "@types/negotiator": "^0.6.4",
        "@types/node": "^24.0.0",
        "@types/pako": "^2.0.3",
        "@types/react": "^19",
        "@types/react-dom": "^19",
        "@types/turndown": "^5.0.6",
        "@vitejs/plugin-react": "^5.1.2",
        "@vitest/coverage-v8": "^4.0.16",
        "concurrently": "^9.2.1",
        "cross-env": "^10.1.0",
        "electron": "^39.2.7",
        "electron-builder": "^26.0.12",
        "esbuild": "^0.28.0",
        "eslint": "9.39.5",
        "eslint-config-next": "16.1.6",
        "husky": "^9.1.7",
        "jsdom": "^27.4.0",
        "lint-staged": "^16.2.7",
        "shx": "^0.4.0",
        "tailwindcss": "^4",
        "typescript": "^5",
        "vite-tsconfig-paths": "^6.0.3",
        "vitest": "^4.0.16",
        "wait-on": "^9.0.3",
        "wrangler": "^4.60.0"
    },
    "overrides": {
        "@openrouter/ai-sdk-provider": {
            "ai": "^7.0.0"
        }
    }
}
