mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 09:43:10 +00:00
Co-authored-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: Joey Clover <joey@popos.local> Co-authored-by: reece-white <93522192+reece-white@users.noreply.github.com> Co-authored-by: Shreesh Nautiyal <114166000+Shreesh09@users.noreply.github.com> Co-authored-by: Nick Gerleman <nick@nickgerleman.com> Co-authored-by: Chongyi Zheng <git@zcy.dev> Co-authored-by: MCR Studio <99176216+mcrstudio@users.noreply.github.com> Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com> Co-authored-by: Ivan Mar (sOkam!) <7308253+heysokam@users.noreply.github.com> Co-authored-by: c0h1b4 <dwidman@gmail.com> Co-authored-by: Janessa Garrow <janessa.garrow@gmail.com> Co-authored-by: ozaki <29860391+OzakIOne@users.noreply.github.com> Co-authored-by: axmmisaka <6500159+axmmisaka@users.noreply.github.com> Co-authored-by: Tatsunori Uchino <tats.u@live.jp> Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com> Co-authored-by: Sanjaiyan Parthipan <parthipankalayini@gmail.com> Co-authored-by: Jack Robson <143492403+jack-robson@users.noreply.github.com> Co-authored-by: dawei-wang <dawei-wang@users.noreply.github.com> Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com> fix(create-docusaurus): fix readme docusaurus 2 ref (#9487) fix(theme): fix firefox CSS :has() support bug (#9530) fix(theme): docs html sidebar items should always be visible (#9531) fix: v3 admonitions should support v2 title syntax for nested admonitions (#9535) fix(theme-classic): fixed wrong cursor on dropdown menu in navbar, when window is small (#9398) fix(theme): upgrade prism-react-renderer, fix html script and style tag highlighting (#9567) fix: add v2 retrocompatible support for quoted admonitions (#9570) fix(i18n): complete translations for theme-common.json Brazilian Portuguese (pt-BR) (#9477) fix(content-blog): add baseUrl for author.image_url (#9581) fix(type-aliases): add `title` prop for imported inline SVG React components (#9612) fix(utils): Markdown link replacement with <> but no spaces (#9617) fix(live-codeblock): stabilize react-live transformCode callback, fix editor/preview desync (#9631) fix(cli): output help when no conventional config + no subcommand (#9648) fix CI job (#9604) fix Lint Autofix workflow (#9632) fix(pwa-plugin): upgrade workbox (#9668) fix(create-docusaurus): fix init template code blocks, and little improvements (#9696) fix(theme): allow empty code blocks and live playgrounds (#9704) fix(core): various broken anchor link fixes (#9732) fix: remove old useless mdx typedefs (#9733) fix(theme-common): fix missing code block MagicComments style in Visual Basic (.NET) 16 (#9727) fix(core): conditionally include `hostname` parameter when using… (#9407) fix(create-docusaurus): fix typo in init template sample docs (#9783) fix(mdx-loader): allow spaces before `mdx-code-block` info string (#9776) fix(core): links with target "_blank" should no be checked by the broken link checker (#9788) fix(core): broken links optimization behaves differently than non-optimized logic (#9791)
95 lines
4.1 KiB
JSON
95 lines
4.1 KiB
JSON
{
|
|
"name": "website",
|
|
"version": "3.1.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"docusaurus": "docusaurus",
|
|
"start": "docusaurus start",
|
|
"build": "docusaurus build",
|
|
"swizzle": "docusaurus swizzle",
|
|
"deploy": "docusaurus deploy",
|
|
"clear": "docusaurus clear && rimraf changelog && rimraf _dogfooding/_swizzle_theme_tests",
|
|
"serve": "docusaurus serve",
|
|
"test:css-order": "node testCSSOrder.mjs",
|
|
"test:swizzle:eject:js": "cross-env SWIZZLE_ACTION='eject' SWIZZLE_TYPESCRIPT='false' node _dogfooding/testSwizzleThemeClassic.mjs",
|
|
"test:swizzle:eject:ts": "cross-env SWIZZLE_ACTION='eject' SWIZZLE_TYPESCRIPT='true' node _dogfooding/testSwizzleThemeClassic.mjs",
|
|
"test:swizzle:wrap:js": "cross-env SWIZZLE_ACTION='wrap' SWIZZLE_TYPESCRIPT='false' node _dogfooding/testSwizzleThemeClassic.mjs",
|
|
"test:swizzle:wrap:ts": "cross-env SWIZZLE_ACTION='wrap' SWIZZLE_TYPESCRIPT='true' node _dogfooding/testSwizzleThemeClassic.mjs",
|
|
"write-translations": "docusaurus write-translations",
|
|
"write-heading-ids": "docusaurus write-heading-ids",
|
|
"start:baseUrl": "cross-env BASE_URL='/build/' yarn start",
|
|
"build:baseUrl": "cross-env BASE_URL='/build/' yarn build",
|
|
"start:blogOnly": "cross-env yarn start --config=docusaurus.config-blog-only.js",
|
|
"build:blogOnly": "cross-env yarn build --config=docusaurus.config-blog-only.js",
|
|
"build:fast": "cross-env BUILD_FAST=true yarn build --locale en",
|
|
"netlify:build:production": "yarn docusaurus write-translations && yarn netlify:crowdin:delay && yarn netlify:crowdin:uploadSources && yarn netlify:crowdin:downloadTranslations && yarn build && yarn test:css-order",
|
|
"netlify:build:branchDeploy": "yarn build && yarn test:css-order",
|
|
"netlify:build:deployPreview": "yarn build && yarn test:css-order",
|
|
"netlify:crowdin:delay": "node delayCrowdin.mjs",
|
|
"netlify:crowdin:wait": "node waitForCrowdin.mjs",
|
|
"netlify:crowdin:downloadTranslations": "yarn netlify:crowdin:wait && yarn --cwd .. crowdin:download:website",
|
|
"netlify:crowdin:downloadTranslationsFailSafe": "yarn netlify:crowdin:wait && (yarn --cwd .. crowdin:download:website || echo 'Crowdin translation download failure (only internal PRs have access to the Crowdin env token)')",
|
|
"netlify:crowdin:uploadSources": "yarn --cwd .. crowdin:upload:website",
|
|
"netlify:test": "yarn netlify:build:deployPreview && npx --package netlify-cli netlify dev -- --debug",
|
|
"typecheck": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@crowdin/cli": "^3.13.0",
|
|
"@crowdin/crowdin-api-client": "^1.23.3",
|
|
"@docusaurus/core": "3.1.1",
|
|
"@docusaurus/logger": "3.1.1",
|
|
"@docusaurus/plugin-client-redirects": "3.1.1",
|
|
"@docusaurus/plugin-ideal-image": "3.1.1",
|
|
"@docusaurus/plugin-pwa": "3.1.1",
|
|
"@docusaurus/preset-classic": "3.1.1",
|
|
"@docusaurus/remark-plugin-npm2yarn": "3.1.1",
|
|
"@docusaurus/theme-classic": "3.1.1",
|
|
"@docusaurus/theme-common": "3.1.1",
|
|
"@docusaurus/theme-live-codeblock": "3.1.1",
|
|
"@docusaurus/theme-mermaid": "3.1.1",
|
|
"@docusaurus/utils": "3.1.1",
|
|
"@docusaurus/utils-common": "3.1.1",
|
|
"@popperjs/core": "^2.11.8",
|
|
"@swc/core": "1.2.197",
|
|
"clsx": "^2.0.0",
|
|
"color": "^4.2.3",
|
|
"fs-extra": "^11.1.1",
|
|
"netlify-plugin-cache": "^1.0.3",
|
|
"pure-react-carousel": "^1.30.1",
|
|
"raw-loader": "^4.0.2",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"react-lite-youtube-embed": "^2.3.52",
|
|
"react-medium-image-zoom": "^5.1.6",
|
|
"react-popper": "^2.3.0",
|
|
"rehype-katex": "^7.0.0",
|
|
"remark-math": "^6.0.0",
|
|
"swc-loader": "^0.2.3",
|
|
"unist-util-visit": "^5.0.0",
|
|
"webpack": "^5.88.1",
|
|
"workbox-routing": "^7.0.0",
|
|
"workbox-strategies": "^7.0.0"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.5%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@docusaurus/eslint-plugin": "3.1.1",
|
|
"@docusaurus/tsconfig": "3.1.1",
|
|
"@types/color": "^3.0.4",
|
|
"@types/jest": "^29.5.3",
|
|
"cross-env": "^7.0.3",
|
|
"rimraf": "^3.0.2",
|
|
"search-insights": "^2.8.2"
|
|
}
|
|
}
|