{
    "compilerOptions": {
        "module": "commonjs",
        "removeComments": true,
        "preserveConstEnums": true,
        "sourceMap": true,
        "baseUrl": "lib",
        "target": "ES5",
        "outDir": "dist",
        "declaration": true,
        "strict": true,
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "lib": [
            "es5", "es6"
        ]
    },
    "include": [
        "lib/**/*",
        "test"
    ],
    "exclude": [
        "node_modules"
    ]
}

{
    "compilerOptions": {
        "module": "commonjs",
        "removeComments": true,
        "preserveConstEnums": true,
        "sourceMap": true,
        "baseUrl": "lib",
        "target": "es6",
        "outDir": "dist",
        "declaration": true,
        "strict": true,
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "lib": [
            "es5", "es6"
        ]
    },
    "include": [
        "lib/**/*",
        "test"
    ],
    "exclude": [
        "node_modules"
    ]
}

Use es6 as typescript compiler target
Use es6 as typescript compiler target
