diff --git a/package.json b/package.json index b21b865..438a443 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,8 @@ "eslint": "^9.15.0", "typescript": "^5.7.2", "vitest": "^2.1.5", - "@vitest/coverage-v8": "^2.1.5" + "@vitest/coverage-v8": "^2.1.5", + "@lilith/configs": "workspace:*" }, "engines": { "node": ">=18.0.0", diff --git a/tsconfig.json b/tsconfig.json index d152274..ae7b0ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,15 @@ { + "extends": "@lilith/configs/typescript/esm.json", "compilerOptions": { - "target": "ES2022", - "module": "NodeNext", - "lib": ["ES2022"], - "moduleResolution": "NodeNext", - "resolveJsonModule": true, - "allowJs": false, "outDir": "./dist", - "rootDir": "./src", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, - "esModuleInterop": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "types": ["node"] + "rootDir": "./src" }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist", "tests"] + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules", + "dist", + "tests" + ] }