mirror of
https://github.com/actix/actix-website
synced 2024-11-30 11:12:57 +01:00
ad4aeac34f
* Update file extensions and exports for TypeScript compatibility * docs: fix typo in getting-started.md * chore: add no-trailing-punctuation rule to VS Code settings * feat: add @docusaurus/theme-mermaid for mermaid diagram support * Update import paths for MermaidDiagram component * remove redudndant check, use effect only runs after the component is mounted * Update docusaurus.config.ts to fix syntax error * bring back check because it's not possible to properly cancel a dynamic import * feat: optimize dynamic import in CodeBlock component * chore: update VS Code extensions.json with eslint recommendation * Update docusaurus.config.ts to add GitHub repository link in header
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "actix-website",
|
|
"version": "3.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"docusaurus": "docusaurus",
|
|
"start": "docusaurus start",
|
|
"build": "docusaurus build",
|
|
"swizzle": "docusaurus swizzle",
|
|
"deploy": "docusaurus deploy",
|
|
"clear": "docusaurus clear",
|
|
"serve": "docusaurus serve",
|
|
"write-translations": "docusaurus write-translations",
|
|
"write-heading-ids": "docusaurus write-heading-ids"
|
|
},
|
|
"dependencies": {
|
|
"@docusaurus/core": "^3.3.2",
|
|
"@docusaurus/preset-classic": "^3.3.2",
|
|
"@docusaurus/theme-mermaid": "^3.3.2",
|
|
"@fortawesome/fontawesome-svg-core": "^6.5.0",
|
|
"@fortawesome/free-solid-svg-icons": "^6.5.0",
|
|
"@fortawesome/react-fontawesome": "^0.2",
|
|
"@mdx-js/react": "^3.0.0",
|
|
"clsx": "^2.1.0",
|
|
"docusaurus-lunr-search": "^3.4.0",
|
|
"docusaurus-plugin-sass": "~0.2.5",
|
|
"prism-react-renderer": "^2.3.0",
|
|
"react": "^18.0.2",
|
|
"react-dom": "^18.0.2",
|
|
"sass": "^1.71.0",
|
|
"usehooks-ts": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@docusaurus/module-type-aliases": "^3.3.2",
|
|
"@docusaurus/tsconfig": "^3.3.2",
|
|
"@docusaurus/types": "^3.3.2",
|
|
"raw-loader": "^4.0.2",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.5%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|