mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +00:00
cf958bacd1
* Start * Use MathJax v3 * Format * Improve font-size * Lint * Better handle loading * Copy MathJax assets to public folder * Attempt at using local assets for MathJax * Use bun 1.0.31 * Try with bun 1.0.33 * Try fixing headers * Simplify * Simplify and not use suspense module * Cleanup more * Add test for Math * Make math block scroll if needed * Update packages/react-math/src/KaTeX.tsx Co-authored-by: Greg Bergé <berge.greg@gmail.com> * Use React.use * Format * Use exports * Lint * Disable cache in CI for lint * Format --------- Co-authored-by: Greg Bergé <berge.greg@gmail.com>
96 lines
3.2 KiB
JSON
96 lines
3.2 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",
|
|
"unit": "bun test {src,packages}/**/*.test.ts",
|
|
"e2e": "playwright test",
|
|
"postinstall": "rm -rf ./public/~gitbook/static/mathjax@3.2.2 && mkdir -p ./public/~gitbook/static/ && cp -R node_modules/mathjax/es5 ./public/~gitbook/static/mathjax@3.2.2"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"dependencies": {
|
|
"@geist-ui/icons": "^1.0.2",
|
|
"@gitbook/api": "^0.36.0",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-popover": "^1.0.7",
|
|
"@sentry/nextjs": "^7.94.1",
|
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@upstash/redis": "^1.27.1",
|
|
"ajv": "^8.12.0",
|
|
"assert-never": "^1.2.1",
|
|
"bun-types": "^1.0.7",
|
|
"content-security-policy-merger": "^1.0.0",
|
|
"framer-motion": "^10.16.14",
|
|
"js-cookie": "^3.0.5",
|
|
"js-yaml": "^4.1.0",
|
|
"jsontoxml": "^1.0.1",
|
|
"katex": "^0.16.9",
|
|
"memoizee": "^0.4.15",
|
|
"next": "^14.1.3",
|
|
"next-themes": "^0.2.1",
|
|
"nuqs": "^1.15.4",
|
|
"object-hash": "^3.0.0",
|
|
"openapi-types": "^12.1.3",
|
|
"p-map": "^7.0.0",
|
|
"parse-cache-control": "^1.0.1",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"react-hotkeys-hook": "^4.4.1",
|
|
"react-medium-image-zoom": "^5.1.10",
|
|
"recoil": "^0.7.7",
|
|
"rehype-sanitize": "^6.0.0",
|
|
"rehype-stringify": "^10.0.0",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-rehype": "^11.1.0",
|
|
"rison": "^0.1.1",
|
|
"server-only": "^0.0.1",
|
|
"shiki": "^1.2.0",
|
|
"swagger2openapi": "^7.0.8",
|
|
"tailwind-merge": "^2.2.0",
|
|
"tailwind-shades": "^1.1.2",
|
|
"unified": "^11.0.4",
|
|
"url-join": "^5.0.0",
|
|
"mathjax": "^3.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@argos-ci/playwright": "^2.0.0",
|
|
"@cloudflare/next-on-pages": "^1.9.0",
|
|
"@cloudflare/workers-types": "^4.20231218.0",
|
|
"@playwright/test": "^1.42.1",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/jsontoxml": "^1.0.5",
|
|
"@types/jsonwebtoken": "^9.0.6",
|
|
"@types/katex": "^0.16.5",
|
|
"@types/node": "^20",
|
|
"@types/object-hash": "^3.0.6",
|
|
"@types/parse-cache-control": "^1.0.4",
|
|
"@types/psi": "^4.1.6",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@types/rison": "^0.0.9",
|
|
"@types/swagger2openapi": "^7.0.4",
|
|
"autoprefixer": "^10",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "13.5.6",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"postcss": "^8",
|
|
"prettier": "^3.0.3",
|
|
"psi": "^4.1.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|