forked from storybookjs/mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
35 lines (30 loc) · 826 Bytes
/
tsconfig.json
File metadata and controls
35 lines (30 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
/* If NOT transpiling with TypeScript: */
"module": "preserve",
"noEmit": true,
// Node 20 according to https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-20
// es2024 added for Promise.withResolvers()
"lib": ["es2023", "es2024", "dom", "dom.iterable"],
// Customization
"allowImportingTsExtensions": true,
// Enable live types
"paths": {
"@storybook/mcp": ["./packages/mcp/src/index.ts"]
}
},
"include": ["*.ts"]
}