mirror of
https://github.com/mdx-js/mdx.git
synced 2024-10-05 20:07:37 +03:00
11ac939bc3
* check most examples with typescript * add special twoslash directives to code blocks so that twoslash understand partial examples * add dependencies for these examples, so typescript can check them * remove theme-ui docs here, their site has info, link to it
25 lines
558 B
JSON
25 lines
558 B
JSON
{
|
|
"compilerOptions": {
|
|
"checkJs": true,
|
|
"customConditions": ["development"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"emitDeclarationOnly": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"jsx": "preserve",
|
|
"lib": ["es2022"],
|
|
"module": "node16",
|
|
"moduleResolution": "node16",
|
|
"strict": true,
|
|
"target": "es2022"
|
|
},
|
|
"exclude": ["**/coverage/", "**/node_modules/", "**/public/"],
|
|
"include": [
|
|
"**/*.cjs",
|
|
"**/*.js",
|
|
"**/*.jsx",
|
|
"packages/mdx/lib/types.d.ts",
|
|
"website/types.d.ts"
|
|
]
|
|
}
|