generated from jcamp-code/starter-vitepress-theme
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtsconfig.json
41 lines (35 loc) · 1.08 KB
/
tsconfig.json
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
36
37
38
39
40
41
{
// started with this https://github.com/vuejs/tsconfig
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["dom", "esnext"],
"moduleResolution": "bundler",
"resolveJsonModule": true,
"allowJs": true,
// uncomment for node projects
// "types": ["node"]
// Required in Vue projects
"jsx": "preserve",
// `"noImplicitThis": true` is part of `strict`
// Added again here in case some users decide to disable `strict`.
// This enables stricter inference for data properties on `this`.
"noImplicitThis": true,
"strict": true,
"verbatimModuleSyntax": true,
// Recommended
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
// not needed with unbuild
"outDir": "dist",
"declaration": true,
// "declarationDir": "types"
"paths": {
"@jcamp/vitepress-blog-theme": ["./src/theme/index.ts"],
"@jcamp/vitepress-blog-theme/config": ["./src/config/index.js"]
}
},
"include": ["src", "docs/.vitepress/**/*"],
"exclude": ["node_modules"]
}