1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Oinktube/node_modules/opencollective-postinstall
2024-04-08 17:21:34 -03:00
..
index.js Update fileinput 2024-04-08 17:21:34 -03:00
LICENSE Update fileinput 2024-04-08 17:21:34 -03:00
package.json Update fileinput 2024-04-08 17:21:34 -03:00
README.md Update fileinput 2024-04-08 17:21:34 -03:00

Open Collective postinstall

Greenkeeper badge

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

Note: This is a lightweight alternative to the opencollective-cli that offers a more complete postinstall message with the current balance and ASCII logo of the collective.