{
  "name": "ha-mongo-client",
  "version": "1.0.1",
  "description": "High availaility for MongoClient",
  "main": "dist/ha_mongo_client.js",
  "scripts": {
    "test": "./node_modules/.bin/ava",
    "build": "./node_modules/.bin/babel ./src --out-dir ./dist",
    "prepublish": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com:antipin/ha-mongo-client.git"
  },
  "author": "Alexander I. Antipin",
  "license": "MIT",
  "dependencies": {
    "mongodb": "^2.1.14"
  },
  "devDependencies": {
    "ava": "^0.13.0",
    "babel-cli": "^6.6.5",
    "babel-preset-es2015": "^6.6.0",
    "mongodb-topology-manager": "^1.0.6"
  },
  "engines": {
    "node": ">=5.0"
  },
  "babel": {
    "presets": [
      "es2015"
    ]
  },
  "ava": {
    "failFast": false,
    "babel": "inherit",
    "require": [
      "babel-register"
    ]
  }
}

{
  "name": "ha-mongo-client",
  "version": "1.0.1",
  "description": "High availaility for MongoClient",
  "main": "dist/ha_mongo_client.js",
  "scripts": {
    "test": "./node_modules/.bin/ava",
    "build": "./node_modules/.bin/babel ./src --out-dir ./dist",
    "prepublish": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com:antipin/ha-mongo-client.git"
  },
  "author": "Alexander I. Antipin",
  "license": "MIT",
  "dependencies": {
    "mongodb": "^2.1.14"
  },
  "devDependencies": {
    "ava": "^0.13.0",
    "babel-cli": "^6.6.5",
    "babel-plugin-add-module-exports": "^0.1.2",
    "babel-preset-es2015": "^6.6.0",
    "mongodb-topology-manager": "^1.0.6"
  },
  "engines": {
    "node": ">=5.0"
  },
  "babel": {
    "presets": [
      "es2015"
    ],
    "plugins": [
      "add-module-exports"
    ]
  },
  "ava": {
    "failFast": false,
    "babel": "inherit",
    "require": [
      "babel-register"
    ]
  }
}

Add add-module-exports babel plugin to fix requre('ha-mongo-client').default issue
Add add-module-exports babel plugin to fix requre('ha-mongo-client').default issue
