1.1.1 • Published 5 years ago

patreon-postinstall v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Patreon Postinstall

Lightweight NPM postinstall message to invite people to donate to your Patreon.

Installation

npm install --save patreon-postinstall

Usage

Add a new field in your package.json:

{
  ...
  "scripts": {
    "postinstall": "patreon-postinstall"
  },
  "patreon": "https://patreon.com/<project-name>"
  ...
}

Disabling

In some places (e.g. CI), you may want to disable this output. You can do this by setting the environment variable DISABLE_PATREON=true. You can also disable it by setting the npm's log level to silent (--silent), warn (--quiet), or error (--loglevel error).