{
  "name": "heroku-self-ping",
  "version": "1.1.5",
  "author": "Matthieu Bacconnier <matthieu@anyfetch.com>",
  "description": "Node.js script for keeping your Heroku application alive. Avoid time limit on your dyno.",
  "bin": {},
  "scripts": {
    "prepare": "npm run build",
    "prepublishOnly": "npm test",
    "build": "tsc",
    "test": "NODE_ENV=test mocha --reporter spec --require ts-node/register test/**/*.ts"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/Neamar/heroku-self-ping"
  },
  "keywords": [
    "anyfetch",
    "hydrater",
    "filecleaner"
  ],
  "license": "MIT",
  "dependencies": {
    "is-heroku": "^2.0.0",
    "request": "~2.85.0"
  },
  "devDependencies": {
    "mocha": "~5.1.1",
    "ts-node": "^7.0.1",
    "typescript": "^3.1.6",
    "@types/mocha": "^5.2.5",
    "@types/node": "^10.12.10",
    "@types/request": "^2.48.1"
  },
  "licence": "MIT",
  "engines": {
    "node": ">=8.0.0"
  }
}
{
  "name": "heroku-self-ping",
  "version": "1.1.5",
  "author": "Matthieu Bacconnier <matthieu@anyfetch.com>",
  "description": "Node.js script for keeping your Heroku application alive. Avoid time limit on your dyno.",
  "bin": {},
  "scripts": {
    "prepare": "npm run build",
    "prepublishOnly": "npm test",
    "build": "tsc",
    "test": "NODE_ENV=test mocha --reporter spec --require ts-node/register test/**/*.ts --exit"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/Neamar/heroku-self-ping"
  },
  "keywords": [
    "anyfetch",
    "hydrater",
    "filecleaner"
  ],
  "license": "MIT",
  "dependencies": {
    "is-heroku": "^2.0.0",
    "request": "~2.85.0"
  },
  "devDependencies": {
    "mocha": "~5.1.1",
    "ts-node": "^7.0.1",
    "typescript": "^3.1.6",
    "@types/mocha": "^5.2.5",
    "@types/node": "^10.12.10",
    "@types/request": "^2.48.1"
  },
  "licence": "MIT",
  "engines": {
    "node": ">=8.0.0"
  }
}

Add --exit flag for mocha
Add --exit flag for mocha
