tsconfig.json 1.0 KB

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