generated from arvinxx/monorepo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
46 lines (45 loc) · 1.87 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
42
43
44
45
46
{
"compilerOptions": {
/* 生成能力 */
"declaration": true,
/* 模块导入配置项 */
"moduleResolution": "Node",
"esModuleInterop": true,
"jsx": "react-jsx",
/* 模块依赖 */
// 这些选项对 babel 编译 TypeScript 没有作用
// 但是可以让编辑器正确提示错误
"target": "es5",
"module": "ESNext",
"sourceMap": true,
"lib": ["DOM", "ES2020"],
//
/* Alias 路径 */
"baseUrl": ".",
"paths": {
"@arvinxu/asset-gallery": ["./packages/asset-gallery/src"],
"@arvinxu/asset-gallery/*": ["./packages/asset-gallery/src/*"],
"@arvinxu/preloader": ["./packages/preloader/src"],
"@arvinxu/preloader/*": ["./packages/preloader/src/*"],
"@arvinxu/macos-traffic-light": ["./packages/macos-traffic-light/src"],
"@arvinxu/macos-traffic-light/*": ["./packages/macos-traffic-light/src/*"],
"@arvinxu/journey-map": ["./packages/journey-map/src"],
"@arvinxu/journey-map/*": ["./packages/journey-map/src/*"],
"@arvinxu/user-panel": ["./packages/user-panel/src"],
"@arvinxu/user-panel/*": ["./packages/user-panel/src/*"],
"@arvinxu/heatmap-calendar": ["./packages/heatmap-calendar/src"],
"@arvinxu/heatmap-calendar/*": ["./packages/heatmap-calendar/src/*"],
"@arvinxu/i18n": ["./packages/i18n/src"],
"@arvinxu/i18n/*": ["./packages/i18n/src/*"],
"@arvinxu/sortable-list": ["./packages/sortable-list/src"],
"@arvinxu/sortable-list/*": ["./packages/sortable-list/src/*"],
"@arvinxu/float-label-input": ["./packages/float-label-input/src"],
"@arvinxu/page-loading": ["./packages/page-loading/src"],
"@arvinxu/mindflow": ["./packages/mindflow/src"],
"@arvinxu/tag-selector": ["./packages/tag-selector/src"],
"@arvinxu/tag-selector/*": ["./packages/tag-selector/src/*"]
},
/* 类型 */
"skipLibCheck": true
}
}