     npmRun.on "exit", =>
       @emit "npmPackagesUpdated"
 
-
   upgradeGruntfile: ->
     @checkGruntfileExists (gruntfileExists) =>
       if gruntfileExists

  updateNpmPackages: ->
    console.log(
      """
      #{chalk.bold.green("INSTALLING NPM DEPENDENCIES")}
      #{chalk.bold.green("===========================")}

      Running #{chalk.bold("npm install")} to install project npm dependencies...
      """
    )


        promptUnderstood (understood) =>
          if understood != "I UNDERSTAND THIS"
            exitAfterUnderstandingFailed()

          console.log(
            """
            \nCopying Gruntfile.js to product root...

            """
          )
          fs.writeFileSync(paths.application.configs.grunt, fs.readFileSync(paths.templates.gruntfile))
          @emit "gruntfileUpgraded"

