mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
a4ec3c8c53
* Move back to use the middleware as the main logic * Fix link * Improve lookup to support docs.gitbook.com.localhost:3000 * Make it work with dev url in prod for now * Start lookup with API * Continue * Prepare for cloudflare build * Dummy commit * Try to abort requests * Support x-forwarded-host * Test multiple modes * Add logs * Add logs * Update next * Default to multi-path * Switch back to nodejs runtime * Adapt to staging API * Make sure to return an absolute url for a redirect * Update api client and try single request * Try again with concurrent lookup
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "gitbook",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"build:cloudflare": "next-on-pages",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"format": "prettier ./ --ignore-unknown --write",
|
|
"format:check": "prettier ./ --ignore-unknown --list-different",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@geist-ui/icons": "^1.0.2",
|
|
"@gitbook/api": "^0.15.0",
|
|
"@readme/openapi-parser": "^2.5.0",
|
|
"ajv": "^8.12.0",
|
|
"assert-never": "^1.2.1",
|
|
"bun-types": "^1.0.7",
|
|
"jsontoxml": "^1.0.1",
|
|
"katex": "^0.16.9",
|
|
"next": "^14.0.3",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"react-hotkeys-hook": "^4.4.1",
|
|
"recoil": "^0.7.7",
|
|
"server-only": "^0.0.1",
|
|
"shiki": "^0.14.5",
|
|
"tailwind-merge": "^1.14.0",
|
|
"tailwind-shades": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/next-on-pages": "^1.7.3",
|
|
"@types/jsontoxml": "^1.0.5",
|
|
"@types/katex": "^0.16.5",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"autoprefixer": "^10",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "13.5.6",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"postcss": "^8",
|
|
"prettier": "^3.0.3",
|
|
"tailwindcss": "^3.3.4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|