Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

10.8 KB
Raw Blame
{
  "name": "@inkeep/open-knowledge-app",
  "version": "0.0.0-unknown",
  "license": "GPL-3.0-or-later",
  "private": true,
  "type": "module",
  "exports": {
    "./test-support/agent-connections": {
      "@inkeep/source": "./src/lib/agent-connections.ts",
      "development": "./src/lib/agent-connections.ts",
      "types": "./src/lib/agent-connections.ts",
      "default": "./src/lib/agent-connections.ts"
    }
  },
  "scripts": {
    "predev": "turbo run build --filter=@inkeep/open-knowledge-core --filter=@inkeep/open-knowledge-server && sh scripts/i18n-compile-unless-skipped.sh && node scripts/copy-excalidraw-assets.mjs",
    "dev": "vite",
    "build": "node scripts/compile-i18n-catalogs.ts && node scripts/copy-excalidraw-assets.mjs && tsc --noEmit && vite build && pnpm run check:no-dev-harness",
    "check:no-dev-harness": "node scripts/check-dev-harness-absent.mjs",
    "typecheck": "node scripts/compile-i18n-catalogs.ts && tsrs --noEmit",
    "i18n": "pnpm run i18n:extract && pnpm run i18n:compile",
    "i18n:extract": "lingui extract --clean --locale en,zh-Hans,zh-Hant,hi,es,ar,fr,bn,pt-BR,id,ur,ko,pl",
    "i18n:compile": "node scripts/compile-i18n-catalogs.ts",
    "lint": "biome check .",
    "format": "biome check --write .",
    "test": "vitest run --config vitest.config.ts src/ tests/free-port.test.ts tests/temp-dir.test.ts tests/perf/fixtures/ tests/perf/lib/ tests/perf/profile.test.ts tests/perf/scenarios/sweep-cache-regime.smoke.test.ts tests/perf/scenarios/sweep-convention-cap-graduation.smoke.test.ts tests/stress/oracle-e-expectations.test.ts",
    "test:dom": "vitest run --config vitest.dom.config.ts",
    "test:dom:shard1": "vitest run --config vitest.dom.config.ts --shard=1/3",
    "test:dom:shard2": "vitest run --config vitest.dom.config.ts --shard=2/3",
    "test:dom:shard3": "vitest run --config vitest.dom.config.ts --shard=3/3",
    "test:browser": "vitest run --config vitest.browser.config.ts",
    "test:node": "vitest run --config vitest.node.config.ts",
    "check": "node scripts/compile-i18n-catalogs.ts && tsrs --noEmit && biome check . && pnpm run test && pnpm run test:dom && pnpm run test:integration && pnpm run test:conversion && pnpm -w run test:uncached",
    "test:integration": "vitest run --config vitest.integration.config.ts",
    "test:integration:shard1": "vitest run --config vitest.integration.config.ts --shard=1/12",
    "test:integration:shard2": "vitest run --config vitest.integration.config.ts --shard=2/12",
    "test:integration:shard3": "vitest run --config vitest.integration.config.ts --shard=3/12",
    "test:integration:shard4": "vitest run --config vitest.integration.config.ts --shard=4/12",
    "test:integration:shard5": "vitest run --config vitest.integration.config.ts --shard=5/12",
    "test:integration:shard6": "vitest run --config vitest.integration.config.ts --shard=6/12",
    "test:integration:shard7": "vitest run --config vitest.integration.config.ts --shard=7/12",
    "test:integration:shard8": "vitest run --config vitest.integration.config.ts --shard=8/12",
    "test:integration:shard9": "vitest run --config vitest.integration.config.ts --shard=9/12",
    "test:integration:shard10": "vitest run --config vitest.integration.config.ts --shard=10/12",
    "test:integration:shard11": "vitest run --config vitest.integration.config.ts --shard=11/12",
    "test:integration:shard12": "vitest run --config vitest.integration.config.ts --shard=12/12",
    "test:worker-lifetime": "vitest run --config vitest.worker-lifetime.config.ts",
    "test:perf:sessions": "vitest run --config vitest.config.ts tests/integration/per-session-um-perf.test.ts --testTimeout 60000",
    "test:conversion": "vitest run --config vitest.config.ts tests/conversion/",
    "test:stress:api": "node --import tsx tests/stress/stress-api.ts",
    "measure:fuzz": "bash scripts/measure-fuzz.sh",
    "measure:stress": "bash scripts/measure-stress.sh",
    "measure:sweep": "bash scripts/measure-sweep.sh",
    "perf:compare": "bash scripts/perf-compare.sh",
    "test:e2e": "playwright test",
    "test:e2e:install-browsers": "playwright install chromium webkit firefox",
    "test:perf": "vitest run tests/stress/component-blocks.perf.test.ts",
    "test:a11y": "playwright test --config playwright.a11y.config.ts",
    "perf:fixtures": "node --import tsx tests/perf/fixtures/generate.ts",
    "perf:profile": "node --import tsx tests/perf/profile.ts",
    "sweep:cache-regime": "node --import tsx tests/perf/profile.ts --scenario=sweep-cache-regime",
    "sweep:convention-cap-graduation": "node --import tsx tests/perf/profile.ts --scenario=sweep-convention-cap-graduation",
    "probe:tiptap-leak": "node --import tsx tests/perf/probes/tiptap-destroy-leak.ts",
    "gen:color-themes": "node --import tsx scripts/gen-color-themes.ts",
    "audit:strings": "node --import tsx scripts/audit-strings/extract.ts",
    "audit:strings:casing": "node --import tsx scripts/audit-strings/check-casing.ts",
    "size": "turbo run build --filter=@inkeep/open-knowledge-app && size-limit"
  },
  "size-limit": [
    {
      "name": "main app bundle (gzipped)",
      "path": "dist/assets/index-*.js",
      "limit": "487 kB",
      "gzip": true,
      "running": false
    },
    {
      "name": "all JS chunks combined (gzipped)",
      "path": "dist/assets/*.js",
      "limit": "9.21 MB",
      "gzip": true,
      "running": false
    },
    {
      "name": "main CSS (gzipped)",
      "path": "dist/assets/index-*.css",
      "limit": "59 kB",
      "gzip": true,
      "running": false
    }
  ],
  "dependencies": {
    "@base-ui/react": "^1.8.0",
    "@codemirror/autocomplete": "^6.20.1",
    "@codemirror/commands": "^6.10.3",
    "@codemirror/lang-css": "^6.3.1",
    "@codemirror/lang-html": "^6.4.9",
    "@codemirror/lang-javascript": "^6.2.3",
    "@codemirror/lang-json": "^6.0.1",
    "@codemirror/lang-markdown": "^6.5.0",
    "@codemirror/lang-python": "^6.1.7",
    "@codemirror/lang-rust": "^6.0.1",
    "@codemirror/lang-yaml": "^6.1.2",
    "@codemirror/language": "^6.12.3",
    "@codemirror/legacy-modes": "^6.5.1",
    "@codemirror/lint": "^6.9.7",
    "@codemirror/search": "^6.6.0",
    "@codemirror/state": "^6.7.0",
    "@codemirror/view": "^6.43.3",
    "@dnd-kit/core": "^6.3.1",
    "@dnd-kit/sortable": "^10.0.0",
    "@dnd-kit/utilities": "^3.2.2",
    "@excalidraw/excalidraw": "0.18.0-abeeaeb",
    "@fellow/prosemirror-recreate-transform": "^1.2.3",
    "@floating-ui/dom": "^1.7.6",
    "@fontsource-variable/inter": "^5.2.8",
    "@fontsource-variable/jetbrains-mono": "^5.2.8",
    "@hocuspocus/provider": "4.0.0-rc.1",
    "@hookform/resolvers": "^5.0.0",
    "@inkeep/open-knowledge-core": "workspace:*",
    "@inkeep/open-knowledge-server": "workspace:*",
    "@lezer/highlight": "^1.2.3",
    "@lezer/markdown": "^1.6.3",
    "@lingui/core": "^6.0.1",
    "@lingui/react": "^6.0.1",
    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/exporter-trace-otlp-http": "^0.204.0",
    "@opentelemetry/instrumentation": "^0.204.0",
    "@opentelemetry/instrumentation-document-load": "^0.49.0",
    "@opentelemetry/instrumentation-fetch": "^0.204.0",
    "@opentelemetry/instrumentation-user-interaction": "^0.49.0",
    "@opentelemetry/resources": "^2.0.0",
    "@opentelemetry/sdk-trace-web": "^2.0.0",
    "@opentelemetry/semantic-conventions": "^1.30.0",
    "@panzoom/panzoom": "^4.6.2",
    "@pierre/diffs": "1.3.6",
    "@pierre/trees": "1.0.0-beta.4",
    "@shadcn/react": "^0.2.1",
    "@shikijs/langs": "^3.23.0",
    "@tanstack/react-query": "^5.99.0",
    "@tiptap/core": "^3.22.3",
    "@tiptap/extension-collaboration": "^3.22.3",
    "@tiptap/extension-collaboration-cursor": "3.0.0",
    "@tiptap/extension-drag-handle": "3.22.3",
    "@tiptap/extension-file-handler": "^3.22.3",
    "@tiptap/extension-placeholder": "^3.22.3",
    "@tiptap/pm": "^3.22.3",
    "@tiptap/react": "^3.22.3",
    "@tiptap/suggestion": "^3.22.3",
    "@tiptap/y-tiptap": "3.0.3",
    "@u-wave/react-vimeo": "^0.9.12",
    "@visimer/core": "^1.1.3",
    "@visimer/dom": "^1.1.3",
    "@xterm/addon-fit": "0.11.0",
    "@xterm/addon-unicode11": "0.9.0",
    "@xterm/addon-web-links": "0.12.0",
    "@xterm/addon-webgl": "0.19.0",
    "@xterm/xterm": "6.0.0",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "cmdk": "^1.1.1",
    "codemirror": "^6.0.2",
    "codemirror-lang-mermaid": "^0.5.0",
    "date-fns": "^4.1.0",
    "frimousse": "^0.3.0",
    "fuzzysort": "^3.1.0",
    "highlight.js": "^11.11.1",
    "ignore": "^5.3.2",
    "ipaddr.js": "^2.3.0",
    "katex": "^0.16.45",
    "lowlight": "^3.3.0",
    "lucide-react": "^1.7.0",
    "mermaid": "^11.14.0",
    "next-themes": "^0.4.6",
    "pdfjs-dist": "^6.2.108",
    "radix-ui": "^1.4.3",
    "react": "^19.2.5",
    "react-day-picker": "^9.14.0",
    "react-dom": "^19.2.5",
    "react-error-boundary": "^6.0.0",
    "react-force-graph-2d": "^1.29.1",
    "react-hook-form": "^7.61.1",
    "react-lite-youtube-embed": "^3.5.1",
    "react-medium-image-zoom": "5.4.3",
    "react-resizable-panels": "^4.9.0",
    "scheduler-polyfill": "^1.3.0",
    "shadcn": "^4.2.0",
    "shiki": "^3.23.0",
    "sonner": "^2.0.7",
    "streamdown": "^2.5.0",
    "tailwind-merge": "^3.5.0",
    "tailwind-scrollbar": "^4.0.2",
    "tailwindcss": "^4.2.2",
    "tw-animate-css": "^1.4.0",
    "ws": "^8.20.0",
    "y-codemirror.next": "^0.3.5",
    "y-indexeddb": "9.0.12",
    "yaml": "^2.8.3",
    "yjs": "^13.6.30",
    "zod": "^4.6.7"
  },
  "devDependencies": {
    "@axe-core/playwright": "^4.11.1",
    "@hocuspocus/server": "4.0.0-rc.1",
    "@lingui/babel-plugin-lingui-macro": "^6.0.1",
    "@lingui/cli": "^6.0.1",
    "@lingui/format-po": "^6.0.1",
    "@opentelemetry/context-async-hooks": "^2.0.0",
    "@opentelemetry/core": "^2.9.0",
    "@opentelemetry/sdk-trace-base": "^2.0.0",
    "@playwright/test": "^1.63.0",
    "@rolldown/plugin-babel": "^0.2.2",
    "@size-limit/preset-app": "^12.1.0",
    "@tailwindcss/postcss": "^4.2.2",
    "@testing-library/jest-dom": "^6",
    "@testing-library/react": "^16",
    "@testing-library/user-event": "^14",
    "@tiptap/starter-kit": "^3.22.3",
    "@types/jsdom": "^28",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "@types/ws": "^8.18.1",
    "@vitejs/plugin-react": "^6.0.1",
    "@vitest/browser-playwright": "^5.0.3",
    "axe-core": "~4.12.1",
    "babel-plugin-react-compiler": "0.0.0-experimental-a8e64ef-20260402",
    "commonmark.json": "0.31.0",
    "diff": "^8.0.4",
    "fake-indexeddb": "^6.0.0",
    "fast-check": "^4.6.0",
    "jsdom": "^29.1.1",
    "lib0": "^0.2.117",
    "memlab": "2.0.2",
    "playwright": "1.63.0",
    "remark-mdx": "^3.1.1",
    "remark-parse": "^11.0.0",
    "sirv": "^3.0.2",
    "size-limit": "^12.1.0",
    "ts-morph": "^28.0.0",
    "tsrs": "0.18.0-ts7.1.0-dev.20260929",
    "typescript": "~7.0.2",
    "unified": "^11.0.5",
    "vite": "^8.0.0",
    "web-vitals": "^5.0.0",
    "y-protocols": "^1.0.7"
  }
}