diff options
Diffstat (limited to 'tree-sitter/dsk/dsk-cli/tsconfig.json')
-rw-r--r-- | tree-sitter/dsk/dsk-cli/tsconfig.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tree-sitter/dsk/dsk-cli/tsconfig.json b/tree-sitter/dsk/dsk-cli/tsconfig.json new file mode 100644 index 0000000..e1599f7 --- /dev/null +++ b/tree-sitter/dsk/dsk-cli/tsconfig.json @@ -0,0 +1,37 @@ +{ + "compilerOptions": { + // Enable latest features + "lib": ["ESNext", "DOM"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + "allowJs": true, + + // Output configuration for CLI tool + "moduleResolution": "node", + "types": ["node"], + "outDir": "./dist", + "rootDir": "./src", + "declaration": true, + "declarationMap": true, + "sourceMap": true, + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "templates/**/*", + "dist/**/*", + "node_modules" + ] +} |