Skip to content

Prompt your users to donate to your collective after `npm install`

License

Notifications You must be signed in to change notification settings

opencollective/opencollective-postinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Collective postinstall

Lightweight npm postinstall message to invite people to donate to your collective

Installation

npm install --save opencollective-postinstall

And in your package.json add:

{
  ...
  "scripts": {
    "postinstall": "opencollective-postinstall"
  },
  "collective": {
    "url": "https://opencollective.com/webpack"
  }
  ...
}

Disabling this message

In some places (e.g. CI) you may want to disable this output. You can do this by setting the environment variable DISABLE_OPENCOLLECTIVE=true.

It will not be shown if npm's log level is set to silent (--silent), warn (--quiet), or error (--loglevel error).

About

Prompt your users to donate to your collective after `npm install`

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published