// TypeScript config file that is used to compile the e2e-app. Protractor will run all specs
// against the e2e-app in the browser and therefore the code needs to be ES5 compatible.
{
  "compilerOptions": {
    "declaration": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "noUnusedParameters": true,
    // Don't use strict nulls for the e2e-app because the material-examples are not
    // strict-null compliant.
    "strictNullChecks": false,
    "lib": ["es6", "es2015", "dom"],
    "module": "commonjs",
    "moduleResolution": "node",
    "noEmitOnError": true,
    "noImplicitAny": true,
    "rootDir": ".",
    "outDir": ".",
    "sourceMap": true,
    "target": "es5",
    "typeRoots": [
      "../../node_modules/@types/!(node)"
    ],
    "baseUrl": ".",
    "paths": {
      "@angular/cdk/*": ["./cdk/*"],
      "@angular/material": ["./material"],
      "@angular/material/*": ["./material/*"],
      "@angular/material-moment-adapter": ["./material-moment-adapter"],
      "@angular/material-examples": ["./material-examples"]
    }
  },
  "files": [
    "./e2e-app-module.ts",
    "./e2e-app-types.d.ts",
    "./main.ts",
    "./system-config.ts"
  ],
  "angularCompilerOptions": {
    "skipMetadataEmit": true
  }
}
