tsconfig.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "@tsed/exceptions": ["./node_modules/@tsed/exceptions"],
  13. "@tsed/common": ["./node_modules/@tsed/common"],
  14. "@tsed/di": ["./node_modules/@tsed/di"],
  15. },
  16. /* TODO: remove below flags for strict checking */
  17. "strict": false,
  18. "strictNullChecks": true,
  19. "strictBindCallApply": true,
  20. "noImplicitAny": false,
  21. "noImplicitOverride": true,
  22. // Note: To transform paths for both the output .js and .d.ts files, you need both of the below entries
  23. "plugins": [
  24. // Transform paths in output .js files
  25. { "transform": "typescript-transform-paths" },
  26. // Transform paths in output .d.ts files (Include this line if you output declarations files)
  27. { "transform": "typescript-transform-paths", "afterDeclarations": true }
  28. ]
  29. },
  30. "include": [
  31. "src"
  32. ],
  33. "exclude": [
  34. "node_modules",
  35. "config",
  36. "dist",
  37. "src/public/**",
  38. "**/*.test.ts"
  39. ],
  40. "ts-node": {
  41. "transpileOnly": true,
  42. "swc": true
  43. }
  44. }