// TypeScript config file that extends the default tsconfig file for the library. This config is
// used to compile the tests for Karma. Since the code will run inside of the browser, the target
// needs to be ES5. The format needs to be CommonJS since Karma only supports that module format.
{
  "extends": "./tsconfig-build",
  "compilerOptions": {
    "importHelpers": false,
    "module": "commonjs",
    "target": "es5",
    "types": [
      "jasmine",
      "googlemaps"
    ],
  },
  "angularCompilerOptions": {
    "strictMetadataEmit": true,
    "skipTemplateCodegen": true,
    "emitDecoratorMetadata": true,
    "fullTemplateTypeCheck": true,
    // Unset options inherited from tsconfig-build
    "annotateForClosureCompiler": false,
    "flatModuleOutFile": null,
    "flatModuleId": null
  },
  "include": [
    "**/*.spec.ts",
    "index.ts"
  ],
  "exclude": [
    "**/schematics/**/*.ts",
    "**/*.e2e.spec.ts"
  ]
}
