{
  "compilerOptions": {
    "rootDirs": ["src"],
    "outDir": "lib",
    "baseUrl": ".",
    "moduleResolution": "node",
    "target": "es5",
    "module": "commonjs",
    "jsx": "react",
    "experimentalDecorators": true,
    "esModuleInterop": true,
    "sourceMap": true,
    "skipLibCheck": true,
    "skipDefaultLibCheck": true,
    "noUnusedLocals": true,
    "declaration": true,
    "declarationMap": true,
    "composite": true,
    "lib": ["es7", "dom"],
    "types": ["node", "jest"],
    "paths": {
      // Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
      // We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
      //"history": [
      //  "./node_modules/@types/history/index"
      //],
    }
  }
}
