/
tsconfig.json
37 lines (37 loc) · 1.07 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
{
"compilerOptions": {
// ForkTsCheckerWebpackPluginにて使用のため出力なし
"noEmit": true,
// 基点となるパス
"baseUrl": "./",
// モジュールの参照先解決の指定
"moduleResolution": "node",
"module": "es2015",
// import 時にファイルの大文字小文字を区別する
"forceConsistentCasingInFileNames": true,
// ソースマップを有効化
"sourceMap": true,
// 厳密モードとして設定
"strict": true,
// 型参照先の設定
"typeRoots": [
"src/ts/@types",
"node_modules"
],
// tsファイルの起点パスを@に設定(ビルド時のパス解決はこの設定だけでは不十分)
// ビルド時のパス解決はwebpack.config.jsにて設定
"paths": {
"@/*": [
"src/ts/*"
]
},
// DI用設定
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// Skip type checking all .d.ts files.
"skipLibCheck": true
},
"compileOnSave": true,
"include": ["src/ts"],
"exclude": ["dist", "node_modules"]
}