tsconfig.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. "paths": {
  9. "~/*": ["./src/*"],
  10. "^/*": ["./*"]
  11. },
  12. /* TODO: remove below flags for strict checking */
  13. "strict": false,
  14. "strictNullChecks": true,
  15. "strictBindCallApply": true,
  16. "noImplicitAny": false,
  17. "noImplicitOverride": true,
  18. // Note: To transform paths for both the output .js and .d.ts files, you need both of the below entries
  19. "plugins": [
  20. // Transform paths in output .js files
  21. { "transform": "typescript-transform-paths" },
  22. // Transform paths in output .d.ts files (Include this line if you output declarations files)
  23. { "transform": "typescript-transform-paths", "afterDeclarations": true }
  24. ]
  25. },
  26. "include": ["next-env.d.ts", "config", "src"],
  27. "ts-node": {
  28. "transpileOnly": true,
  29. "swc": true,
  30. "compilerOptions": {
  31. "module": "CommonJS",
  32. "moduleResolution": "Node"
  33. }
  34. }
  35. }