chore: update ts config

This commit is contained in:
syy11cn 2022-05-29 15:05:41 +08:00
parent acd9ed4128
commit 505014ae52
1 changed files with 13 additions and 4 deletions

View File

@ -1,13 +1,22 @@
{ {
"compilerOptions": { "compilerOptions": {
"module": "CommonJS", "module": "ESNext",
"target": "ES2017",
"baseUrl": ".", "baseUrl": ".",
"target": "ES2016",
"lib": ["ESNext"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"paths": { "paths": {
"@md-report/types": ["./packages/types/src/index.ts"], "@md-report/types": ["./packages/types/src/index.ts"],
"@md-report/parser": ["./packages/parser/src/index.ts"], "@md-report/parser": ["./packages/parser/src/index.ts"],
"@md-report/core": ["./packages/core/src/index.ts"] "@md-report/core": ["./packages/core/src/index.ts"]
} },
} },
"exclude": ["**/dist/**", "node_modules"]
} }