tsconfig.build.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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-locale/*": ["src/sentry/locale/*"],
  42. "sentry-logos/*": ["src/sentry/static/sentry/images/logos/*"],
  43. "sentry-fonts/*": ["static/fonts/*"],
  44. "docs-ui/*": ["docs-ui/*"],
  45. // Use the stub file for typechecking. Webpack resolver will use the real files
  46. // based on configuration.
  47. "integration-docs-platforms": [
  48. "fixtures/integration-docs/_platforms.json",
  49. "src/sentry/integration-docs/_platforms.json"
  50. ]
  51. },
  52. "plugins": [{"name": "typescript-styled-plugin"}]
  53. },
  54. "include": ["../static", "../tests/js", "../fixtures/js-stubs"],
  55. "exclude": ["../node_modules", "../**/*.benchmark.ts"],
  56. "ts-node": {
  57. "transpileOnly": true
  58. }
  59. }