mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* fix: makes types DocusaurusConfig optional to match docs * add UserDocusaurusConfig with required keys for user config * convert UserDocusaurusConfig to use util type * Docusaurus website config should be type-checked by CI + fix all existing issues * add doc for config typechecking * Update template configs for TS autocompletion * fix last config typechecking bugs * reapply prettier * reapply prettier-docs * Fix TS doc: add missing () * fix some docu plugin types * add "const config" for simpler jsdoc annotation Co-authored-by: slorber <lorber.sebastien@gmail.com>
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "@docusaurus/plugin-content-blog",
|
|
"version": "2.0.0-beta.6",
|
|
"description": "Blog plugin for Docusaurus.",
|
|
"main": "lib/index.js",
|
|
"types": "src/plugin-content-blog.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"watch": "tsc --watch"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/docusaurus.git",
|
|
"directory": "packages/docusaurus-plugin-content-blog"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@docusaurus/core": "2.0.0-beta.6",
|
|
"@docusaurus/mdx-loader": "2.0.0-beta.6",
|
|
"@docusaurus/types": "2.0.0-beta.6",
|
|
"@docusaurus/utils": "2.0.0-beta.6",
|
|
"@docusaurus/utils-validation": "2.0.0-beta.6",
|
|
"chalk": "^4.1.2",
|
|
"escape-string-regexp": "^4.0.0",
|
|
"feed": "^4.2.2",
|
|
"fs-extra": "^10.0.0",
|
|
"globby": "^11.0.2",
|
|
"js-yaml": "^4.0.0",
|
|
"loader-utils": "^2.0.0",
|
|
"lodash": "^4.17.20",
|
|
"reading-time": "^1.5.0",
|
|
"remark-admonitions": "^1.2.1",
|
|
"tslib": "^2.3.1",
|
|
"utility-types": "^3.10.0",
|
|
"webpack": "^5.40.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.4 || ^17.0.0",
|
|
"react-dom": "^16.8.4 || ^17.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.13.0"
|
|
}
|
|
}
|