diff --git a/.gitignore b/.gitignore index c977c85..40205b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +*.d.ts.map *.d.ts *.log coverage/ diff --git a/package.json b/package.json index 534e4c5..4d9111e 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "exports": "./index.js", "files": [ "lib/", + "index.d.ts.map", "index.d.ts", "index.js" ], diff --git a/tsconfig.json b/tsconfig.json index 91ae62d..22a9c48 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,8 @@ { - "include": ["**/*.js"], - "exclude": ["coverage/", "node_modules/"], "compilerOptions": { "checkJs": true, "declaration": true, + "declarationMap": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true, "forceConsistentCasingInFileNames": true, @@ -13,5 +12,7 @@ "skipLibCheck": true, "strict": true, "target": "es2022" - } + }, + "exclude": ["coverage/", "node_modules/"], + "include": ["**/*.js"] }