Skip to content

Commit

Permalink
feat: add module tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
andrao committed Mar 28, 2024
1 parent f667067 commit d79abed
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
27 changes: 27 additions & 0 deletions module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"allowJs": true,
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["dom", "dom.iterable", "ES2022"],
"module": "esnext",
"moduleDetection": "force",
"moduleResolution": "Bundler",
"noEmit": false,
"noErrorTruncation": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noUncheckedIndexedAccess": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
"target": "ES2022"
},
"exclude": ["node_modules", "build", "dist", ".next", ".expo"]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"license": "MIT",
"author": "andrao",
"files": [
"base.json"
"base.json",
"module.json"
],
"scripts": {
"format": "prettier --check .",
Expand Down

0 comments on commit d79abed

Please sign in to comment.