Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

8.3 KB
Raw Blame
{
  "name": "frontend",
  "version": "0.3.4",
  "private": true,
  "engines": {
    "node": "24.x"
  },
  "scripts": {
    "dev": "pnpm run copy:vad-assets && pnpm run generate:api:force && next dev --turbo",
    "build": "pnpm run copy:vad-assets && cross-env NODE_OPTIONS=--max-old-space-size=16384 next build",
    "start": "next start",
    "start:standalone": "cd .next/standalone && node server.js",
    "lint": "next lint && pnpm lint:shadcn && prettier --check .",
    "lint:shadcn": "oxlint",
    "format": "next lint --fix; prettier --write .",
    "types": "tsc --noEmit",
    "knip": "knip",
    "test": "NEXT_PUBLIC_PW_TEST=true next build --turbo && pnpm test:e2e:no-build",
    "test-ui": "NEXT_PUBLIC_PW_TEST=true next build --turbo && pnpm test:e2e:ui",
    "test:unit": "vitest run --coverage",
    "test:unit:watch": "vitest",
    "test:tooltip": "playwright test --config playwright.tooltip.config.ts",
    "test:e2e": "NEXT_PUBLIC_PW_TEST=true next build --turbo && pnpm test:e2e:no-build",
    "test:e2e:no-build": "playwright test",
    "test:e2e:ui": "playwright test --ui",
    "gentests": "playwright codegen http://localhost:3000",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "test-storybook": "test-storybook",
    "test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm run build-storybook -- --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && pnpm run test-storybook\"",
    "generate:api": "npx --yes tsx ./scripts/generate-api-queries.ts && orval --config ./orval.config.ts",
    "generate:api:force": "npx --yes tsx ./scripts/generate-api-queries.ts --force && orval --config ./orval.config.ts",
    "copy:vad-assets": "node ./scripts/copy-vad-assets.mjs",
    "perf": "npx --yes tsx scripts/perf/measure.ts",
    "perf:compare": "npx --yes tsx scripts/perf/compare.ts"
  },
  "browserslist": [
    "defaults"
  ],
  "dependencies": {
    "@ai-sdk/react": "3.0.61",
    "@better-auth/core": "1.6.33",
    "@faker-js/faker": "10.5.0",
    "@ferrucc-io/emoji-picker": "0.0.48",
    "@hookform/resolvers": "5.2.2",
    "@hugeicons/core-free-icons": "^4.2.3",
    "@hugeicons/react": "^1.1.9",
    "@phosphor-icons/react": "2.1.10",
    "@posthog/nextjs-config": "1.11.1",
    "@posthog/react": "1.7.0",
    "@radix-ui/react-accordion": "1.2.12",
    "@radix-ui/react-checkbox": "1.3.3",
    "@radix-ui/react-collapsible": "1.1.12",
    "@radix-ui/react-context-menu": "2.2.16",
    "@radix-ui/react-dialog": "1.1.15",
    "@radix-ui/react-dropdown-menu": "2.1.16",
    "@radix-ui/react-icons": "1.3.2",
    "@radix-ui/react-label": "2.1.7",
    "@radix-ui/react-popover": "1.1.15",
    "@radix-ui/react-scroll-area": "1.2.10",
    "@radix-ui/react-select": "2.2.6",
    "@radix-ui/react-separator": "1.1.7",
    "@radix-ui/react-slot": "1.2.3",
    "@radix-ui/react-switch": "1.2.6",
    "@radix-ui/react-tabs": "1.1.13",
    "@radix-ui/react-tooltip": "1.2.8",
    "@ricky0123/vad-web": "0.0.30",
    "@rjsf/core": "6.1.2",
    "@rjsf/utils": "6.1.2",
    "@rjsf/validator-ajv8": "6.1.2",
    "@sentry/nextjs": "10.27.0",
    "@streamdown/cjk": "1.0.1",
    "@streamdown/math": "1.0.1",
    "@streamdown/mermaid": "1.0.1",
    "@tanstack/react-query": "5.90.6",
    "@tanstack/react-virtual": "3.13.18",
    "@types/jaro-winkler": "0.2.4",
    "@vercel/speed-insights": "1.2.0",
    "@xyflow/react": "12.9.2",
    "ai": "6.0.134",
    "bcryptjs": "3.0.3",
    "better-auth": "1.6.33",
    "boring-avatars": "2.0.4",
    "canvas-confetti": "1.9.4",
    "class-variance-authority": "0.7.1",
    "clsx": "2.1.1",
    "cmdk": "1.1.1",
    "date-fns": "4.1.0",
    "dexie": "4.2.1",
    "dotenv": "17.2.3",
    "embla-carousel-react": "8.6.0",
    "eventsource-parser": "3.0.6",
    "flatbush": "4.5.0",
    "framer-motion": "13.3.0",
    "geist": "1.5.1",
    "highlight.js": "11.11.1",
    "jaro-winkler": "0.2.8",
    "jose": "6.2.3",
    "jszip": "3.10.1",
    "katex": "0.18.2",
    "launchdarkly-react-client-sdk": "3.9.0",
    "lodash": "4.17.21",
    "lucide-react": "0.552.0",
    "motion": "13.2.0",
    "next": "15.5.28",
    "next-themes": "0.4.6",
    "nuqs": "2.7.2",
    "pg": "8.21.0",
    "posthog-js": "1.334.1",
    "react": "19.3.0",
    "react-currency-input-field": "4.0.3",
    "react-day-picker": "9.11.1",
    "react-dom": "19.3.0",
    "react-force-graph-2d": "1.29.1",
    "react-hook-form": "7.66.0",
    "react-icons": "5.5.0",
    "react-markdown": "9.0.3",
    "react-window": "2.2.0",
    "recharts": "3.3.0",
    "rehype-autolink-headings": "7.1.0",
    "rehype-highlight": "7.0.2",
    "rehype-katex": "7.0.1",
    "rehype-slug": "6.0.0",
    "remark-gfm": "4.0.1",
    "remark-math": "6.0.0",
    "shepherd.js": "15.3.0",
    "shiki": "^3.21.0",
    "sonner": "2.0.7",
    "streamdown": "2.1.0",
    "tailwind-merge": "2.6.0",
    "tailwind-scrollbar": "3.1.0",
    "tailwindcss-animate": "1.0.7",
    "twemoji": "14.0.2",
    "use-stick-to-bottom": "1.1.2",
    "uuid": "11.1.1",
    "vaul": "1.1.2",
    "zod": "3.25.76",
    "zustand": "5.0.8"
  },
  "devDependencies": {
    "@opentelemetry/instrumentation": "0.209.0",
    "@playwright/test": "1.56.1",
    "@shadcn/lint": "0.1.1",
    "@storybook/addon-a11y": "9.1.5",
    "@storybook/addon-docs": "9.1.5",
    "@storybook/addon-links": "9.1.5",
    "@storybook/addon-onboarding": "9.1.5",
    "@storybook/nextjs": "9.1.5",
    "@tanstack/eslint-plugin-query": "5.91.2",
    "@tanstack/react-query-devtools": "5.90.2",
    "@testing-library/dom": "10.4.1",
    "@testing-library/react": "16.3.2",
    "@testing-library/user-event": "14.6.1",
    "@types/canvas-confetti": "1.9.0",
    "@types/eslint": "8.56.12",
    "@types/lodash": "4.17.20",
    "@types/node": "26.6.2",
    "@types/pg": "8.20.0",
    "@types/react": "19.3.0",
    "@types/react-dom": "19.3.0",
    "@types/twemoji": "13.1.2",
    "@vitejs/plugin-react": "5.1.2",
    "@vitest/coverage-v8": "4.1.11",
    "concurrently": "9.2.1",
    "cross-env": "10.1.0",
    "eslint": "8.57.1",
    "eslint-config-next": "15.5.7",
    "eslint-plugin-storybook": "9.1.5",
    "happy-dom": "20.8.9",
    "import-in-the-middle": "2.0.2",
    "knip": "6.32.2",
    "monocart-reporter": "2.10.0",
    "msw": "2.11.6",
    "msw-storybook-addon": "3.0.3",
    "orval": "8.22.0",
    "oxlint": "1.83.0",
    "postcss": "8.5.24",
    "prettier": "3.6.2",
    "prettier-plugin-tailwindcss": "0.7.1",
    "require-in-the-middle": "8.0.1",
    "storybook": "9.1.5",
    "tailwindcss": "3.4.17",
    "typescript": "5.9.3",
    "vite": "7.3.1",
    "vite-tsconfig-paths": "6.0.4",
    "vitest": "4.1.11"
  },
  "msw": {
    "workerDirectory": [
      "public"
    ]
  },
  "pnpm": {
    "//kysely": "DO NOT UPGRADE past 0.28.x: @better-auth/kysely-adapter (better-auth) imports DEFAULT_MIGRATION_LOCK_TABLE from the kysely root, which 0.29 moved to kysely/migration — upgrading crashes every /api/auth route. Revisit when better-auth's adapter supports kysely 0.29+.",
    "//shell-quote": "SECURITY PIN (dev-only): forces shell-quote exactly 1.9.0 to clear GHSA-395f-4hp3-45gv and GHSA-w7jw-789q-3m8p in the vulnerable 1.8.x line. Consumed transitively via concurrently (used by the test-storybook:ci script). Kept global rather than scoped to concurrently so any future transitive consumer also gets a patched version. Safe to remove once every consumer resolves shell-quote >=1.9.0 on its own.",
    "//katex": "SECURITY PIN: forces katex 0.18.2 to clear GHSA-238p-pmpm-9mq7 and to keep rehype-katex and @streamdown/math (both ^0.16) rendering with the same version as the katex/dist/katex.min.css stylesheet we import. 0.18 renamed layout classes (.base -> .katex-base), so a 0.16 renderer under 0.18 CSS breaks math layout. Safe to remove once both consumers depend on katex ^0.18.",
    "//ws": "SECURITY PIN (dev-only): forces ws exactly 8.21.1 to clear GHSA-58qx-3vcg-4xpx and GHSA-96hv-2xvq-fx4p in 8.19.0 pulled by happy-dom, jsdom, Storybook, and Vitest. Safe to remove once every consumer resolves ws >=8.21.0 on its own.",
    "overrides": {
      "@opentelemetry/instrumentation": "0.209.0",
      "lodash-es": "4.17.23",
      "katex": "0.18.2",
      "kysely": "0.28.17",
      "protobufjs": "7.6.5",
      "shell-quote": "1.9.0",
      "ws": "8.21.1"
    }
  },
  "packageManager": "[email protected]+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd"
}