2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-06 07:20:40 +00:00

Fix tsconfig in utils

This commit is contained in:
Vjacheslav Trushkin 2022-03-16 15:42:17 +02:00
parent 71e3aa8597
commit 96c7486f7c
4 changed files with 20 additions and 13 deletions

View File

@ -9,6 +9,7 @@ yarn.lock
tsconfig.tsbuildinfo
.eslintrc.cjs
tsconfig.json
tsconfig.common.json
jest.config.*
jest.shared.config.cjs
vitest.config.*

View File

@ -1,7 +1,8 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.common.json",
"compilerOptions": {
"types": ["node", "jest"],
"rootDir": "."
"rootDir": ".",
"outDir": "../tests-compiled"
}
}

View File

@ -0,0 +1,13 @@
{
"compilerOptions": {
"target": "ES2019",
"module": "ESNext",
"strict": true,
"skipLibCheck": true,
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
"resolveJsonModule": true
}
}

View File

@ -1,17 +1,9 @@
{
"extends": "./tsconfig.common.json",
"compilerOptions": {
"rootDir": "./",
"rootDir": "./src",
"outDir": "./lib",
"target": "ES2019",
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"strict": true,
"skipLibCheck": true,
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
"resolveJsonModule": true
"lib": ["ESNext", "DOM"]
},
"include": ["src/**/*.ts"]
}