From 505014ae52d0fd74b75165c0f9d4d3b60442991c Mon Sep 17 00:00:00 2001 From: syy11cn Date: Sun, 29 May 2022 15:05:41 +0800 Subject: [PATCH] chore: update ts config --- tsconfig.json | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 034c54c..d910468 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,22 @@ { "compilerOptions": { - "module": "CommonJS", - "target": "ES2017", + "module": "ESNext", "baseUrl": ".", + "target": "ES2016", + "lib": ["ESNext"], + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "noUnusedLocals": true, "moduleResolution": "node", + "resolveJsonModule": true, + "strictNullChecks": true, + "forceConsistentCasingInFileNames": true, "paths": { "@md-report/types": ["./packages/types/src/index.ts"], "@md-report/parser": ["./packages/parser/src/index.ts"], "@md-report/core": ["./packages/core/src/index.ts"] - } - } + }, + }, + "exclude": ["**/dist/**", "node_modules"] }