code: function getServerDependencies() {
      var grunt = require('grunt');
      var pkg = grunt.file.readJSON('package.json');
      var directDependencies = Object.keys(pkg.dependencies);
      var dependencies = {};
      var clientRegExp = /norman.*client/;
      directDependencies.forEach(function (dependency) {
          // ignore client packages
          if (clientRegExp.test(dependency)) return;
          grunt.log.debug('Found server module ' + dependency);
          dependencies[dependency + '/**/*'] = 1;
  
          var depPkg = grunt.file.readJSON('node_modules/' + dependency + '/package.json');
  
          // add peer dependencies if any
          if (depPkg.peerDependencies) {
              Object.keys(depPkg.peerDependencies).forEach(function (peer) {
                  grunt.log.debug('Found server module ' + peer);
                  dependencies[peer + '/**/*'] = 1;
              });
          }
  
          // add dependencies if needed
          if (depPkg.dependencies) {
              Object.keys(depPkg.dependencies).forEach(function (dep) {
                  grunt.log.debug('Found server module ' + dep);
                  dependencies[dep + '/**/*'] = 1;
              });
          }
      });
      return Object.keys(dependencies);
  }
docs: Copy all server dependencies from node_modules to dist/node_modules, excluding devDependencies
  @return  {array}  flat array of names of required dependencies