{
  "name": "f5-cloud-libs",
  "version": "2.0.0",
  "description": "Common library code for deploying a BIG-IP in a cloud environment",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/F5Networks/f5-cloud-libs.git"
  },
  "license": "Apache-2.0",
  "dependencies": {
    "commander": "^2.9.0",
    "q": "^1.4.1",
    "winston": "^2.2.0"
  },
  "devDependencies": {
    "jshint": "latest",
    "nodeunit": "^0.10"
  },
  "config": {
    "cloudProvider": "",
    "cloudProviderTag": ""
  },
  "scripts": {
    "test": "node_modules/nodeunit/bin/nodeunit --reporter eclipse test test/lib test/scripts",
    "doc": "jsdoc -c jsdoc.conf"
  }
}

{
  "name": "f5-cloud-libs",
  "version": "2.0.0",
  "description": "Common library code for deploying a BIG-IP in a cloud environment",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/F5Networks/f5-cloud-libs.git"
  },
  "license": "Apache-2.0",
  "dependencies": {
    "commander": "^2.9.0",
    "q": "^1.4.1",
    "winston": "^2.2.0"
  },
  "devDependencies": {
    "jshint": "latest",
    "nodeunit": "^0.10"
  },
  "config": {
    "cloudProvider": "",
    "cloudProviderTag": ""
  },
  "scripts": {
    "test": "node_modules/nodeunit/bin/nodeunit --reporter eclipse test/lib; if [ $? -ne 0 ]; then exit 1; fi; node_modules/nodeunit/bin/nodeunit --reporter eclipse test/scripts; if [ $? -ne 0 ]; then exit 1; fi",
    "doc": "jsdoc -c jsdoc.conf"
  }
}

Set exit code 1 for failed tests.
Set exit code 1 for failed tests.

There is a bug in nodeunit in which the exit code is 0 even if
there is a failure in a test which is not in the last directory
tested. See https://github.com/caolan/nodeunit/issues/335
If that is fixed, this can be reverted.
