tsconfig.json 816 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "compilerOptions": {
  3. "baseUrl": ".",
  4. "outDir": "./dist",
  5. "sourceMap": true,
  6. "target": "es2016",
  7. "newLine": "LF",
  8. "useDefineForClassFields": false,
  9. "module": "esnext",
  10. "moduleResolution": "bundler",
  11. "allowJs": false,
  12. "strict": true,
  13. "noUnusedLocals": true,
  14. "experimentalDecorators": true,
  15. "resolveJsonModule": true,
  16. "isolatedModules": true,
  17. "skipLibCheck": true,
  18. "esModuleInterop": true,
  19. "removeComments": false,
  20. "declaration": true,
  21. "jsx": "preserve",
  22. "lib": ["esnext", "dom"],
  23. // "types": ["vitest/globals", "puppeteer", "node"],
  24. "rootDir": ".",
  25. "paths": {
  26. "@/*": [
  27. "src/*",
  28. "src/type/*"
  29. ]
  30. }
  31. },
  32. "include": [
  33. "src/**/*.ts"
  34. ],
  35. "exclude": [
  36. "node_modules",
  37. "dist"
  38. ]
  39. }