{
  "name": "nitrogen",
  "homepage": "https://github.com/nitrogenjs/client",
  "author": "Tim Park <timfpark@gmail.com>",
  "licenses": [
    {
      "type": "Apache",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    }
  ],
  "main": "./lib",
  "repository": {
    "type": "git",
    "url": "https://github.com/nitrogenjs/client.git"
  },
  "version": "0.1.328",
  "dependencies": {
    "async": "~0.2.10",
    "request": "~2.36.0",
    "socket.io-client": "~0.9.16",
    "ursa": "~0.8.0"
  },
  "devDependencies": {
    "nitrogen-browser-request": "~0.3.2",
    "mocha": "~1.17.1",
    "uglify-js": "~2.4.13",
    "jsdox": "~0.2.6"
  },
  "scripts": {
    "test": "mocha",
    "prepublish": "scripts/build-module"
  },
  "keywords": [
    "devices",
    "iot",
    "nitrogen",
    "pi",
    "raspberry",
    "raspberry pi"
  ]
}

{
  "name": "nitrogen",
  "homepage": "https://github.com/nitrogenjs/client",
  "author": "Tim Park <timfpark@gmail.com>",
  "licenses": [
    {
      "type": "Apache",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    }
  ],
  "main": "./lib",
  "repository": {
    "type": "git",
    "url": "https://github.com/nitrogenjs/client.git"
  },
  "version": "0.1.328",
  "dependencies": {
    "async": "~0.2.10",
    "request": "~2.36.0",
    "socket.io-client": "~0.9.16",
    "ursa": "~0.8.0"
  },
  "devDependencies": {
    "nitrogen-browser-request": "~0.3.2",
    "mocha": "~1.17.1",
    "uglify-js": "~2.4.13",
    "jsdox": "~0.2.6"
  },
  "scripts": {
    "test": "mocha",
    "prepublish": "scripts/build-module",
    "postpublish": "scripts/build-documentation"
  },
  "keywords": [
    "devices",
    "iot",
    "nitrogen",
    "pi",
    "raspberry",
    "raspberry pi"
  ]
}

Add build-documetation as the postpublish script
Add build-documetation as the postpublish script
