mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* fix(types): type `LoadedPlugin` is not generic `LoadedPlugin` referenced line 201 is not generic, causing typescript errors on end-user builds. * chore(types): add typescript dev dep, tsconfig and a test script Contributors will no longer inadvertently dump type errors since any IDE should check types now. * add missing plugins generic types Co-authored-by: slorber <lorber.sebastien@gmail.com>
30 lines
649 B
JSON
30 lines
649 B
JSON
{
|
|
"name": "@docusaurus/types",
|
|
"version": "2.0.0-beta.2",
|
|
"description": "Common types for Docusaurus packages.",
|
|
"main": "./src/index.js",
|
|
"types": "./src/index.d.ts",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/docusaurus.git",
|
|
"directory": "packages/docusaurus-types"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"test": "tsc -p ."
|
|
},
|
|
"dependencies": {
|
|
"commander": "^5.1.0",
|
|
"joi": "^17.4.0",
|
|
"querystring": "0.2.0",
|
|
"webpack": "^5.40.0",
|
|
"webpack-merge": "^5.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^4.3.4"
|
|
}
|
|
}
|