tsconfig.build.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "compilerOptions": {
  3. "allowJs": false,
  4. "checkJs": false,
  5. "alwaysStrict": false,
  6. "declaration": false,
  7. "declarationMap": false,
  8. "downlevelIteration": true,
  9. "inlineSources": false,
  10. "importHelpers": true,
  11. "lib": ["esnext", "dom"],
  12. "module": "commonjs",
  13. "moduleResolution": "node",
  14. "noEmit": true,
  15. "noEmitHelpers": true,
  16. "noFallthroughCasesInSwitch": true,
  17. "noImplicitAny": false,
  18. "noImplicitReturns": true,
  19. "noImplicitUseStrict": true,
  20. "noImplicitThis": true,
  21. "noUnusedLocals": true,
  22. "noUnusedParameters": true,
  23. "pretty": false,
  24. "resolveJsonModule": true,
  25. "sourceMap": true,
  26. "strict": true,
  27. "target": "es6",
  28. "strictBindCallApply": false,
  29. "experimentalDecorators": true,
  30. "useUnknownInCatchVariables": false,
  31. // Skip type checking of all declaration files
  32. "skipLibCheck": true,
  33. "esModuleInterop": true,
  34. "jsx": "preserve",
  35. "baseUrl": "../",
  36. "outDir": "../src/sentry/static/sentry/dist",
  37. "paths": {
  38. "sentry/*": ["static/app/*"],
  39. "sentry-test/*": ["tests/js/sentry-test/*"],
  40. "sentry-images/*": ["static/images/*"],
  41. "sentry-swagger-ui/*": ["swagger-ui/*"],
  42. "sentry-locale/*": ["src/sentry/locale/*"],
  43. "sentry-logos/*": ["src/sentry/static/sentry/images/logos/*"],
  44. "sentry-fonts/*": ["static/fonts/*"],
  45. "docs-ui/*": ["docs-ui/*"],
  46. // Use the stub file for typechecking. Webpack resolver will use the real files
  47. // based on configuration.
  48. "integration-docs-platforms": [
  49. "fixtures/integration-docs/_platforms.json",
  50. "src/sentry/integration-docs/_platforms.json"
  51. ]
  52. },
  53. "plugins": [{"name": "typescript-styled-plugin"}]
  54. },
  55. "include": ["../static", "../tests/js", "../fixtures/js-stubs"],
  56. "exclude": ["../node_modules", "../**/*.benchmark.ts"],
  57. "ts-node": {
  58. "transpileOnly": true
  59. }
  60. }