Skip to content

Enterprise agent platform for building, deploying, and operating AI teammates.

4.0 KB
Raw Blame
{
  "name": "xagent-frontend",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "predev": "node scripts/prepare-voice-assets.mjs",
    "prebuild": "node scripts/prepare-voice-assets.mjs",
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "eslint",
    "type-check": "tsc --noEmit",
    "test": "vitest",
    "test:run": "vitest run",
    "test:pages": "vitest run --config vitest.config.ts src/components/pages src/ci/frontend-test-manifest.test.ts",
    "test:kb-components": "vitest run --config vitest.config.ts src/components/kb",
    "test:file-previews": "vitest run --config vitest.config.ts src/components/file",
    "test:ci-manifest": "vitest run --config vitest.config.ts src/ci/frontend-test-manifest.test.ts",
    "test:app-pages": "vitest run --config vitest.config.ts src/app",
    "test:home-build-contracts": "vitest run --config vitest.config.ts src/lib/models.test.ts src/lib/task-create.test.ts src/i18n/translations.test.ts src/lib/utils.test.ts src/lib/time-utils.test.ts src/lib/background-jobs.test.ts src/lib/team-sharing-sanitizers.test.ts src/lib/oauth-account.test.ts src/lib/oauth-connect-account.test.ts src/lib/oauth-connect.test.ts src/lib/oauth-launch.test.ts",
    "test:widget": "vitest run --config vitest.widget.config.ts",
    "test:widget:coverage": "vitest run --config vitest.widget.config.ts --coverage"
  },
  "dependencies": {
    "@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-icons": "^1.3.0",
    "@radix-ui/react-label": "^2.1.7",
    "@radix-ui/react-popover": "^1.1.15",
    "@radix-ui/react-progress": "^1.1.7",
    "@radix-ui/react-radio-group": "^1.3.8",
    "@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-slider": "^1.3.6",
    "@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.31",
    "@types/katex": "^0.16.8",
    "@types/node": "^20.0.0",
    "@types/react": "^18.0.0",
    "@types/react-dom": "^18.0.0",
    "@xyflow/react": "^12.0.0",
    "autoprefixer": "^10.4.0",
    "chart.js": "^4.5.1",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "dagre": "^0.8.5",
    "date-fns": "^4.1.0",
    "docx-preview": "^0.3.7",
    "dompurify": "^3.4.17",
    "eslint": "^8.0.0",
    "eslint-config-next": "^15.5.28",
    "framer-motion": "^12.28.1",
    "highlight.js": "^11.11.1",
    "jszip": "^3.10.1",
    "katex": "0.18.2",
    "lucide-react": "^0.263.1",
    "marked": "^5.1.2",
    "next": "^15.5.28",
    "onnxruntime-web": "1.31.1",
    "parse-entities": "^4.0.2",
    "parse5": "^7.3.0",
    "postcss": "^8.5.30",
    "pptxgenjs": "4.0.1",
    "pptxviewjs": "^1.1.9",
    "qrcode-generator": "2.0.4",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "react-markdown": "^9.0.1",
    "recharts": "^2.8.0",
    "rehype-katex": "^7.0.0",
    "remark-gfm": "^4.0.0",
    "remark-math": "^6.0.0",
    "remark-parse": "^11.0.0",
    "socket.io-client": "^4.7.2",
    "sonner": "^2.0.7",
    "tailwind-merge": "^2.6.0",
    "tailwindcss": "^3.3.0",
    "tailwindcss-animate": "^1.0.7",
    "typescript": "^5.0.0",
    "unified": "^11.0.5",
    "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
  },
  "overrides": {
    "form-data": "4.0.6",
    "image-size": "2.0.3",
    "katex": "$katex",
    "postcss-selector-parser": "7.1.6",
    "next": {
      "postcss": "$postcss"
    }
  },
  "devDependencies": {
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.0.0",
    "@types/dagre": "^0.7.53",
    "@types/highlight.js": "^10.0.0",
    "@types/istanbul-lib-instrument": "^1.7.8",
    "@types/marked": "^5.0.0",
    "@vitest/coverage-istanbul": "4.1.12",
    "istanbul-lib-instrument": "6.0.3",
    "jsdom": "^25.0.0",
    "vite": "7.3.7",
    "vitest": "4.1.12",
    "yaml": "^2.8.1"
  }
}