{
  "compilerOptions": {
    "target": "es5",
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false,
    "declaration": true
  },
  "files": [
    "index.ts"
  ],
  "exclude": [
    "node_modules",
    "demo"
  ]
}

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false,
    "declaration": true
  },
  "files": [
    "index.ts"
  ],
  "exclude": [
    "node_modules",
    "demo"
  ]
}

Change module to commonjs fron es2015
Change module to commonjs fron es2015
