{
  "name": "phenyl-mongodb-client",
  "version": "0.1.0",
  "description": "",
  "main": "index.js",
  "jsnext:main": "./jsnext.js",
  "scripts": {
    "pretest": "type mongod && mkdir -p test/tmp/mongodb && mongod --dbpath test/tmp/mongodb > /dev/null &",
    "test": "kocha --require babel-register test/*.js --color always",
    "posttest": "pkill -x mongod > /dev/null; rm -rf test/tmp/mongodb"
  },
  "devDependencies": {
    "babel-register": "^6.24.1",
    "phenyl-interfaces": "~0.1.0",
    "power-assert": "^1.4.4"
  },
  "author": "Shin Suzuki <shinout310@gmail.com>",
  "repository": "https://github.com/phenyl-js/phenyl/tree/master/phenyl-mongodb-client",
  "license": "Apache License 2.0",
  "dependencies": {
    "es6-promisify": "^5.0.0",
    "mongodb": "^2.2.33",
    "oad-utils": "~0.1.0",
    "phenyl-utils": "~0.1.0",
    "power-assign": "~0.2.0"
  }
}

{
  "name": "phenyl-mongodb-client",
  "version": "0.1.0",
  "description": "",
  "main": "index.js",
  "jsnext:main": "./jsnext.js",
  "scripts": {
    "pretest": "type mongod && mkdir -p test/tmp/mongodb && mongod --dbpath test/tmp/mongodb > /dev/null &",
    "test": "kocha --require babel-register test/*.js --color always || (npm run posttest && exit 1)",
    "posttest": "pkill -x mongod > /dev/null; rm -rf test/tmp/mongodb"
  },
  "devDependencies": {
    "babel-register": "^6.24.1",
    "phenyl-interfaces": "~0.1.0",
    "power-assert": "^1.4.4"
  },
  "author": "Shin Suzuki <shinout310@gmail.com>",
  "repository": "https://github.com/phenyl-js/phenyl/tree/master/phenyl-mongodb-client",
  "license": "Apache License 2.0",
  "dependencies": {
    "es6-promisify": "^5.0.0",
    "mongodb": "^2.2.33",
    "oad-utils": "~0.1.0",
    "phenyl-utils": "~0.1.0",
    "power-assign": "~0.2.0"
  }
}

Kill mongodb process as test failed
:hammer: Kill mongodb process as test failed
