run a script defined in package.json scripts

XMLWordPrintable

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Minor
    • Component/s: nodejs-plugin
    • None

      I tried to to run the release script but I couldn't get it working.
      require('npm-run-script')('release').once('exit',(code)=>console.log('exit in',code))

      Error: Cannot find module 'npm-run-script'

            Assignee:
            Nikolas Falco
            Reporter:
            wozza xing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: