tsconfig.json 924 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "compilerOptions": {
  3. "target": "ES2022",
  4. "module": "commonjs",
  5. "lib": ["ES2022"],
  6. "declaration": true,
  7. "declarationMap": true,
  8. "sourceMap": true,
  9. "outDir": "./dist",
  10. "rootDir": "./src",
  11. "strict": true,
  12. "noImplicitAny": true,
  13. "strictNullChecks": true,
  14. "strictFunctionTypes": true,
  15. "strictBindCallApply": true,
  16. "strictPropertyInitialization": true,
  17. "noImplicitThis": true,
  18. "alwaysStrict": true,
  19. "noUnusedLocals": true,
  20. "noUnusedParameters": true,
  21. "noImplicitReturns": true,
  22. "noFallthroughCasesInSwitch": true,
  23. "noUncheckedIndexedAccess": true,
  24. "esModuleInterop": true,
  25. "skipLibCheck": true,
  26. "forceConsistentCasingInFileNames": true,
  27. "resolveJsonModule": true,
  28. "paths": {
  29. "web-tree-sitter": ["./src/web-tree-sitter.d.ts"]
  30. }
  31. },
  32. "include": ["src/**/*"],
  33. "exclude": ["node_modules", "dist", "__tests__"]
  34. }