Lightweight npm postinstall message
npm install --save @controlla/postinstall
And in your package.json
add:
{
...
"scripts": {
"postinstall": "controlla-postinstall || exit 0"
},
"controlla": {
"url": "https://controlla.github.io/vuemerang/"
}
...
}
Configuration is applied through your project's package.json
.
A full configuration looks like:
{
"controlla": {
"url": "https://controlla.github.io/vuemerang/",
"logoUrl": "https://controlla.github.io/vuemerang/logo.txt"
}
}
Note: This is a lightweight alternative to the controlla-cli that offers a more complete postinstall message.