code: function buildForBrowser() {
    return doBrowserify('pouchdb', 'lib/index-browser.js', {
      standalone: 'PouchDB'
    }).then(function (code) {
      code = comments.pouchdb + code;
      return all([
        writeFile(addPath('pouchdb', 'dist/pouchdb.js'), code),
        doUglify('pouchdb', code, comments.pouchdb, 'dist/pouchdb.min.js')
      ]);
    });
  }
docs: build for the browser (dist)