{ "name": "gitbook", "version": "0.27.2", "private": true, "dependencies": { "@base-ui/react": "catalog:", "@cloudflare/workers-types": "^4.20251011.0", "@gitbook/api": "catalog:", "@gitbook/browser-types": "workspace:*", "@gitbook/cache-tags": "workspace:*", "@gitbook/colors": "workspace:*", "@gitbook/embed": "workspace:*", "@gitbook/emoji-codepoints": "workspace:*", "@gitbook/expr": "workspace:*", "@gitbook/fonts": "workspace:*", "@gitbook/icons": "workspace:*", "@gitbook/openapi-parser": "workspace:*", "@gitbook/react-contentkit": "workspace:*", "@gitbook/react-math": "workspace:*", "@gitbook/react-openapi": "workspace:*", "@mermaid-js/mermaid-zenuml": "^0.2.2", "@modelcontextprotocol/sdk": "1.17.5", "@opennextjs/aws": "4.1.7", "@opennextjs/cloudflare": "1.20.8", "@panzoom/panzoom": "^4.6.1", "@sindresorhus/fnv1a": "^3.1.0", "@tailwindcss/container-queries": "^0.1.1", "@tusbar/cache-control": "^1.0.2", "@vercel/agent-readability": "^0.4.0", "ai": "^4.2.2", "assert-never": "catalog:", "bidc": "catalog:", "classnames": "catalog:", "direction": "^2.0.1", "event-iterator": "^2.0.0", "feed": "^5.1.0", "flexsearch": "^0.8.212", "image-size": "^2.0.2", "js-cookie": "^3.0.5", "jsontoxml": "^1.0.1", "jwt-decode": "^4.0.0", "leven": "^4.1.0", "mcp-handler": "^1.0.2", "mdast-util-from-markdown": "^2.0.2", "mdast-util-frontmatter": "^2.0.1", "mdast-util-gfm": "^3.1.0", "mdast-util-to-markdown": "^2.1.2", "memoizee": "^0.4.17", "mermaid": "^11.14.0", "micromark-extension-frontmatter": "^2.0.0", "micromark-extension-gfm": "^3.0.0", "motion": "^12.23.24", "negotiator": "^1.0.0", "next": "^16.3.8", "next-themes": "^0.4.6", "nuqs": "^2.2.3", "object-hash": "^3.0.0", "object-identity": "^0.1.2", "openapi-types": "^12.1.3", "p-map": "^7.0.3", "p-retry": "^8.0.0", "quick-lru": "^7.0.1", "react": "19.2.4", "react-dom": "19.2.4", "react-hotkeys-hook": "^5.3.3", "rehype-raw": "^7.0.0", "rehype-sanitize": "^6.0.0", "rehype-stringify": "^10.0.1", "remark-gfm": "^4.0.1", "remark-parse": "^11.0.0", "remark-rehype": "^11.1.1", "rison": "^0.1.1", "server-only": "^0.0.1", "shiki": "^3.21.0", "tailwind-merge": "^2.2.0", "tailwind-shades": "^1.1.2", "tldts": "^7.0.30", "unified": "^11.0.5", "unist-util-remove": "^4.0.0", "unist-util-visit": "^5.0.0", "url-join": "^5.0.0", "usehooks-ts": "catalog:", "warn-once": "^0.1.1", "zod": "^3", "zod-to-json-schema": "^3.25.1", "zustand": "^5.0.3" }, "devDependencies": { "@argos-ci/playwright": "^7.2.0", "@playwright/test": "^1.61.1", "@scalar/api-client-react": "catalog:", "@tailwindcss/postcss": "^4.1.11", "@types/js-cookie": "^3.0.6", "@types/jsontoxml": "^1.0.5", "@types/jsonwebtoken": "^9.0.6", "@types/mdast": "^4.0.4", "@types/node": "^20", "@types/object-hash": "^3.0.6", "@types/parse-cache-control": "^1.0.4", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", "@types/rison": "^0.0.9", "@types/negotiator": "^0.6.4", "bun-types": "catalog:", "deepmerge": "^4.3.1", "diff": "^8.0.2", "env-cmd": "^10.1.0", "jsonwebtoken": "^9.0.2", "postcss": "^8", "stylelint": "^16.16.0", "stylelint-no-unsupported-browser-features": "^8.1.1", "tailwindcss": "^4.1.11", "ts-essentials": "^10.0.1", "typescript": "catalog:", "vercel": "50.37.3", "wrangler": "^4.79.0", "rss-parser": "^3.13.0" }, "scripts": { "generate": "./scripts/generate.sh", "generate:assets": "bun ./scripts/generate-mermaid-runtime.ts && bun ./scripts/generate-scalar-runtime.ts && bun ./scripts/download-fonts.ts", "generate:fonts": "bun ./scripts/generate-font-faces.ts", "clean": "rm -rf ./.next && rm -rf ./public/~gitbook/static/icons && rm -rf ./public/~gitbook/static/math && rm -rf ./public/~gitbook/static/mermaid && rm -rf ./public/~gitbook/static/scalar && rm -rf ./public/~gitbook/static/fonts", "dev": "bun run generate:assets && env-cmd --silent -f ../../.env.local next --webpack", "build": "bun run generate:assets && next build --webpack", "build:local": "bun run generate:assets && GITBOOK_URL=http://localhost:3000 next build --webpack", "check:css-browser-compatibility": "bun scripts/check-css-browser-compatibility.ts", "check:css-browser-compatibility:local": "bun run check:css-browser-compatibility --local origin/main", "start": "GITBOOK_URL=http://localhost:3000 next start", "build:cloudflare": "bun run generate:assets && GITBOOK_RUNTIME=cloudflare opennextjs-cloudflare build", "dev:cloudflare": "wrangler dev --port 8771 --env preview", "dev:cf:middleware": "wrangler dev --port 8771 --inspector-port 9230 --env dev --config ./openNext/customWorkers/middlewareWrangler.jsonc", "dev:cf:server": "wrangler dev --port 8772 --env dev --config ./openNext/customWorkers/defaultWrangler.jsonc", "profile:cf:memory": "bun run build:cloudflare && bun ./scripts/profile-opennext-memory.ts", "e2e": "playwright test e2e/internal.spec.ts e2e/cookie-banner.spec.ts e2e/pdf.spec.ts e2e/select.spec.ts e2e/tabs-overflow.spec.ts --project=chromium", "e2e-customers": "playwright test e2e/customers.spec.ts --project=chromium", "e2e-style-perf": "playwright test e2e/style-perf.spec.ts --project=chromium --reporter=list", "unit": "bun run generate:assets && bun test {src,packages} --preload ./tests/preload-bun.ts", "e2e-browserless": "bun test ./tests/", "typecheck": "tsc --noEmit" }, "browserslist": [ ">0.3%, chrome >= 64, edge >= 79, firefox >= 67, opera >= 51, safari >= 12 and not dead" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "overrides": { "@types/react": "19.2.14", "@types/react-dom": "19.2.3" } }