You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Björn
b963b3396c
|
4 years ago | |
---|---|---|
.. | ||
LICENSE | 4 years ago | |
README.md | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago |
README.md
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
).
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.