{
  "name": "telegrembo",
  "version": "1.0.0",
  "description": "Telegram bot for the Maprox platform",
  "main": "server/index.js",
  "scripts": {
    "start": "node .",
    "pretest": "jshint .",
    "posttest": "nsp check"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/maprox/telegrembo.git"
  },
  "author": "aintsay",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/maprox/telegrembo/issues"
  },
  "homepage": "https://github.com/maprox/telegrembo#readme",
  "dependencies": {
    "amqplib": "^0.4.1",
    "dot": "^1.0.3",
    "node-telegram-bot-api": "^0.21.1"
  },
  "devDependencies": {
    "jshint": "^2.5.6",
    "nsp": "^2.1.0"
  }
}

{
  "name": "telegrembo",
  "version": "1.0.0",
  "description": "Telegram bot for the Maprox platform",
  "main": "server/index.js",
  "scripts": {
    "start": "node .",
    "pretest": "jshint .",
    "posttest": "nsp check"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/maprox/telegrembo.git"
  },
  "author": "aintsay",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/maprox/telegrembo/issues"
  },
  "homepage": "https://github.com/maprox/telegrembo#readme",
  "dependencies": {
    "amqplib": "^0.4.1",
    "dot": "^1.0.3",
    "node-telegram-bot-api": "^0.21.1",
    "when": "^3.7.7"
  },
  "devDependencies": {
    "jshint": "^2.5.6",
    "nsp": "^2.1.0"
  }
}

Add "when" to the dependencies
Add "when" to the dependencies
