const _ = require('lodash')

/**
 * DefaultService
 *
 * @description Default Service included with a new Trails app
 */
module.exports = {

  /**
   * Return some info about this application
   */
  getApplicationInfo () {
    return {
      node: process.versions,
      trailpacks: _.map(_.omit(this.packs, 'inspect'), pack => {
        return {
          name: pack.name,
          version: pack.pkg.version
        }
      })
    }
    /*
    return {
      trails: this.version,
      trailpacks: this.packs,
      process: process.versions
    }
    */
  }

}

@@ -240,12 +240,70 @@
     
-node
+app: this.pkg.version,%0A      node: process.version,%0A      libs
 : pr
@@ -494,132 +494,8 @@
 %7D%0A  
-  /*%0A    return %7B%0A      trails: this.version,%0A      trailpacks: this.packs,%0A      process: process.versions%0A    %7D%0A    */%0A  %7D%0A
+%7D
 %0A%7D%0A

return more app info