index.js
function getRunAllScripts (cmd) {
  const re = RegExp("(?:npm-run-all" + RE_FLAGS + RE_NAMES + ")+", "gi")
  const cmds = getMatches(re, cmd).map(m =>
    // clean spaces
    m.match.trim().split(" ").filter(x => x))

  return unique(flatten(cmds))
}
function getRunAllScripts (cmd) {
  const re = RegExp("(?:npm-run-all" + RE_FLAGS + RE_NAMES + ")+", "gi")
  const cmds = getMatches(re, cmd).map(m =>
    // clean spaces
    m.match.trim().split(" ").filter(x => x))

  return unique(flatten(cmds))
}
function getRunAllScripts ( cmd ) { const re = RegExp ( "(?:npm-run-all" + RE_FLAGS + RE_NAMES + ")+" , "gi" ) const cmds = getMatches ( re , cmd ) . map ( m => // clean spaces m . match . trim ( ) . split ( " " ) . filter ( x => x ) ) return unique ( flatten ( cmds ) ) }
handled by npm-run-all module
handled by npm - run - all module