Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NPM package output message at the very end

Tags:

Did anyone know if it's possible to print a log message at the very end after the npm install?

  To enable CLI tab autocompletion run:
   mypackage completion >> ~/.profile


  [email protected] node_modules/progress

  [email protected] node_modules/kew

  [email protected] node_modules/adm-zip

  [email protected] node_modules/request-progress
  └── [email protected]
  ....

But I want to give a message after the dependency download, e.g:

  [email protected] node_modules/progress

  [email protected] node_modules/kew

  [email protected] node_modules/adm-zip

  [email protected] node_modules/request-progress
  └── [email protected]
  To enable CLI tab autocompletion run:
   mypackage completion >> ~/.profile

I tried it via a post installation script, but doesn't work