docs: function Service(opts) {
    _.extend(this,
      {
        description: '',
        utils: require('./utils'),
        logger: require('./logger')
      },
      require('./config')(),
      opts
    );
  
    // scoped modules contain a '/' (@foo/bar).
    // this causes problems when generating logs/scripts
    // on some platforms.
    this.name = this.name.replace('/', '_');
  
    // run the script within its ndm
    // node_modules directory.
    this.workingDirectory = this._workingDirectory();
  
    this.logFile = this.utils.resolve(
      this.logsDirectory,
      this.name + '.log'
    );
  
    this._copyFieldsFromPackageJson(); // try to grab some sane defaults from package.json.
  }