-
Notifications
You must be signed in to change notification settings - Fork 27
/
tsconfig.json
28 lines (27 loc) · 887 Bytes
/
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
{
"compilerOptions": {
/* 生成能力 */
"declaration": true,
/* 模块导入配置项 */
"moduleResolution": "Node",
"esModuleInterop": true,
/* 模块依赖 */
// 这些选项对 babel 编译 TypeScript 没有作用
// 但是可以让编辑器正确提示错误
"target": "es5",
"module": "CommonJS",
"sourceMap": true,
"lib": ["ESNext"],
//
/* Alias 路径 */
"baseUrl": ".",
"paths": {
"@gitmoji/parser-opts": ["./packages/parser-opts/src"],
"@gitmoji/gitmoji-regex": ["./packages/gitmoji-regex/src"],
"@gitmoji/commit-types": ["./packages/commit-types/src"],
"commitlint-plugin-gitmoji": ["./packages/commitlint-plugin/src"],
"conventional-changelog-gitmoji-config": ["./packages/changelog/src"],
"semantic-release-config-gitmoji": ["./packages/release-config/src"]
}
}
}