tsconfig.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "$schema": "http://json.schemastore.org/tsconfig",
  3. "extends": "../../tsconfig.base.json",
  4. "compilerOptions": {
  5. "module": "CommonJS",
  6. "moduleResolution": "Node",
  7. "baseUrl": ".",
  8. "paths": {
  9. "~/*": ["./src/*"],
  10. "@tsed/core": ["./node_modules/@tsed/core"],
  11. "@tsed/schema": ["./node_modules/@tsed/schema"],
  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": [
  28. "src"
  29. ],
  30. "exclude": [
  31. "node_modules",
  32. "config",
  33. "dist",
  34. "src/public/**",
  35. "**/*.test.ts"
  36. ],
  37. "ts-node": {
  38. "transpileOnly": true,
  39. "swc": true
  40. }
  41. }