tsconfig.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json.schemastore.org/tsconfig",
  3. "extends": "../../tsconfig.base.json",
  4. "compilerOptions": {
  5. "jsx": "preserve",
  6. "resolveJsonModule": true,
  7. "types": ["vitest/globals", "@testing-library/jest-dom/vitest"],
  8. "baseUrl": ".",
  9. "paths": {
  10. "~/*": ["./src/*"],
  11. "^/*": ["./*"]
  12. },
  13. /* TODO: remove below flags for strict checking */
  14. "strict": false,
  15. "strictNullChecks": true,
  16. "strictBindCallApply": true,
  17. "noImplicitAny": false,
  18. "noImplicitOverride": true,
  19. // Note: To transform paths for both the output .js and .d.ts files, you need both of the below entries
  20. "plugins": [
  21. // Transform paths in output .js files
  22. { "transform": "typescript-transform-paths" },
  23. // Transform paths in output .d.ts files (Include this line if you output declarations files)
  24. { "transform": "typescript-transform-paths", "afterDeclarations": true }
  25. ]
  26. },
  27. "include": ["next-env.d.ts", "config", "src"],
  28. "ts-node": {
  29. "transpileOnly": true,
  30. "swc": true,
  31. "compilerOptions": {
  32. "module": "CommonJS",
  33. "moduleResolution": "Node"
  34. }
  35. }
  36. }