{
    "compilerOptions": {
        "allowJs": true,
        "forceConsistentCasingInFileNames": true,
        "module": "commonjs",
        "newLine": "LF",
        "noFallthroughCasesInSwitch": true,
        "noImplicitAny": true,
        "noImplicitReturns": true,
        //"outFile": "js/app.js", // Cannot use outFile when module is set to commonjs.
        "outDir": "js",
        "removeComments": true,
        "sourceMap": true,
        "target": "es5"
    },
    "files": [
        "typings/browser.d.ts",
        "src/Bootstrap.ts",
        "src/Controller.ts",
        "src/Filter.ts",
        "src/FilterChannel.ts",
        "src/FilterState.ts",
        "src/FooterView.ts",
        "src/HeaderView.ts",
        "src/KeyCode.ts",
        "src/RootLayout.ts",
        "src/Router.ts",
        "src/Todo.ts",
        "src/TodoApp.ts",
        "src/TodoCollection.ts",
        "src/TodosView.ts",
        "src/TodoView.ts"
    ]
}
{
    "compilerOptions": {
        "allowJs": false,
        "forceConsistentCasingInFileNames": true,
        "module": "commonjs",
        "newLine": "LF",
        "noFallthroughCasesInSwitch": true,
        "noImplicitAny": true,
        "noImplicitReturns": true,
        //"outFile": "js/app.js", // Cannot use outFile when module is set to commonjs.
        "outDir": "js",
        "removeComments": true,
        "sourceMap": true,
        "target": "es5"
    },
    "exclude": [
        "js",
        "node_modules",
        "typings/main",
        "typings/main.d.ts"
    ]
}
Use exclude instead of files
Use exclude instead of files
