tasks/npmcopy.js
function getNumTargets() {
    if (numTargets) {
      return numTargets
    }
    var targets = grunt.config('npmcopy')
    if (targets) {
      delete targets.options
      numTargets = Object.keys(targets).length
    }
    return numTargets
  }
function getNumTargets() {
    if (numTargets) {
      return numTargets
    }
    var targets = grunt.config('npmcopy')
    if (targets) {
      delete targets.options
      numTargets = Object.keys(targets).length
    }
    return numTargets
  }
function getNumTargets ( ) { if ( numTargets ) { return numTargets } var targets = grunt . config ( 'npmcopy' ) if ( targets ) { delete targets . options numTargets = Object . keys ( targets ) . length } return numTargets }
Retrieve the number of targets from the grunt config
@returns {number|undefined} Returns the number of targets,
or undefined if the npmcopy config could not be found
Retrieve the number of targets from the grunt config