tsconfig.build.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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": "esnext",
  13. "moduleResolution": "node",
  14. "noEmitHelpers": true,
  15. "noFallthroughCasesInSwitch": true,
  16. "noImplicitAny": false,
  17. "noImplicitReturns": true,
  18. "noImplicitUseStrict": true,
  19. "noImplicitThis": true,
  20. "noUnusedLocals": true,
  21. "noUnusedParameters": true,
  22. "pretty": false,
  23. "resolveJsonModule": true,
  24. "sourceMap": true,
  25. "strict": true,
  26. "target": "es5",
  27. "strictBindCallApply": false,
  28. "experimentalDecorators": true,
  29. // Skip type checking of all declaration files
  30. "skipLibCheck": true,
  31. "esModuleInterop": true,
  32. "jsx": "preserve",
  33. "baseUrl": "../",
  34. "outDir": "../src/sentry/static/sentry/dist",
  35. "paths": {
  36. "app/*": ["static/app/*"],
  37. "sentry-test/*": ["tests/js/sentry-test/*"],
  38. "sentry-images/*": ["static/images/*"],
  39. "sentry-locale/*": ["src/sentry/locale/*"],
  40. "sentry-logos/*": ["src/sentry/static/sentry/images/logos/*"],
  41. "sentry-fonts/*": ["static/fonts/*"],
  42. // Use the stub file for typechecking. Webpack resolver will use the real files
  43. // based on configuration.
  44. "integration-docs-platforms": [
  45. "tests/fixtures/integration-docs/_platforms.json",
  46. "src/sentry/integration-docs/_platforms.json"
  47. ]
  48. },
  49. "plugins": [{"name": "typescript-styled-plugin"}]
  50. },
  51. "include": ["../static", "../tests/js"],
  52. "exclude": ["../node_modules"]
  53. }