patreon-postinstall

1.1.1 • Public • Published

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).

Readme

Keywords

Package Sidebar

Install

npm i patreon-postinstall

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

3.27 kB

Total Files

4

Last publish

Collaborators

  • chroventer