{
  "compilerOptions": {
    "module": "commonjs",
    "moduleResolution": "node",
    "target": "es5",
    "noImplicitAny": false,
    "sourceMap": true,
    "baseUrl": "lib",
    "outDir": "dist",
    "declaration": true,
    "strict": true,
    "lib": ["es6"]
  }
}

{
  "compilerOptions": {
    "module": "commonjs",
    "moduleResolution": "node",
    "target": "es5",
    "noImplicitAny": false,
    "sourceMap": true,
    "baseUrl": "lib",
    "outDir": "dist",
    "declaration": true,
    "strict": true,
    "lib": ["es6", "dom"]
  }
}

Fix build issue when compile to es5 target
Fix build issue when compile to es5 target

Add `dom` to compiler libs
