tsconfig.build.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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/*": ["src/sentry/static/sentry/app/*"],
  37. "sentry-test/*": ["tests/js/sentry-test/*"],
  38. "@emotion/styled": ["src/sentry/static/sentry/app/styled.tsx"],
  39. "@original-emotion/*": ["node_modules/@emotion/*"],
  40. // Use the stub file for typechecking. Webpack resolver will use the real files
  41. // based on configuration.
  42. "integration-docs-platforms": [
  43. "tests/fixtures/integration-docs/_platforms.json",
  44. "src/sentry/integration-docs/_platforms.json"
  45. ]
  46. },
  47. "plugins": [{"name": "typescript-styled-plugin"}]
  48. },
  49. "include": ["../src", "../tests"],
  50. "exclude": ["../node_modules"]
  51. }