tsconfig.base.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "compilerOptions": {
  3. "target": "es2019",
  4. "module": "commonjs",
  5. "allowJs": true,
  6. "skipLibCheck": true,
  7. "importHelpers": true,
  8. "sourceMap": true,
  9. "removeComments": false,
  10. "noEmit": true,
  11. "isolatedModules": true,
  12. "lib": ["dom", "dom.iterable", "esnext"],
  13. /* Strict Type-Checking Options */
  14. // "strict": true,
  15. "strictNullChecks": true,
  16. "strictBindCallApply": true,
  17. "noImplicitAny": false,
  18. "noImplicitOverride": true,
  19. /* Additional Checks */
  20. "noUnusedLocals": false,
  21. "noUnusedParameters": false,
  22. /* Module Resolution Options */
  23. "moduleResolution": "node",
  24. "typeRoots": [
  25. "./node_modules/@types"
  26. ],
  27. "allowSyntheticDefaultImports": true,
  28. "esModuleInterop": true,
  29. /* Misc */
  30. "preserveConstEnums": true,
  31. "forceConsistentCasingInFileNames": true,
  32. "resolveJsonModule": true,
  33. /* Experimental Options */
  34. "experimentalDecorators": true,
  35. "emitDecoratorMetadata": true,
  36. /* default path aliases */
  37. "baseUrl": ".",
  38. "paths": {
  39. "@growi/*": ["packages/*/src"],
  40. }
  41. },
  42. "exclude": [
  43. "node_modules",
  44. "dist",
  45. "**/*.test.ts"
  46. ],
  47. "ts-node": {
  48. "transpileOnly": true,
  49. "swc": true
  50. }
  51. }