Skip to content

Commit

Permalink
add: tsconfig files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dias1c committed Feb 15, 2024
1 parent 4d6fb19 commit 3b7adf6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"outDir": "./lib/cjs"
}
}
15 changes: 15 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES6",
"module": "ES6",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"declaration": true,
"outDir": "./lib/esm",
"moduleResolution": "Node"
},
"exclude": ["./**/tests/*", "./**/test/*", "*.test.ts"],
"include": ["./src"]
}

0 comments on commit 3b7adf6

Please sign in to comment.