{
  "name": "electron-detach",
  "description": "restart electron app as a detached child process",
  "repository": "https://github.com/parro-it/electron-detach.git",
  "bugs": {
    "url": "https://github.com/parro-it/electron-detach/issues"
  },
  "version": "0.2.1",
  "main": "src/index.js",
  "engines": {
    "node": ">=4.1"
  },
  "author": "parro-it",
  "scripts": {
    "release-minor": "release-minor",
    "release-patch": "release-patch",
    "lint": "lint",
    "prepublish": "lint"
  },
  "eslintConfig": {
    "extends": "devenv"
  },
  "license": "MIT",
  "keywords": [
    "electron",
    "child",
    "process",
    "detached"
  ]
}

{
  "name": "electron-detach",
  "description": "restart electron app as a detached child process",
  "repository": "https://github.com/parro-it/electron-detach.git",
  "bugs": {
    "url": "https://github.com/parro-it/electron-detach/issues"
  },
  "version": "0.2.1",
  "main": "src/index.js",
  "engines": {
    "node": ">=4.1"
  },
  "author": "parro-it",
  "scripts": {
    "release-minor": "release-minor",
    "release-patch": "release-patch",
    "lint": "lint",
    "prepublish": "lint"
  },
  "eslintConfig": {
    "extends": "devenv"
  },
  "license": "MIT",
  "keywords": [
    "electron",
    "child",
    "process",
    "detached"
  ],
  "dependencies":{
    "yargs": "^3.29.0"
  }
}

Add yargs to avoid error when using.
Add yargs to avoid error when using.