A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @overflowhidden
@overflowhidden @Netlify I don't quite follow how this is related to NPM, but if you want run some tasks after a deploy has completed, you could use a serverless function.

Netlify Functions can be triggered by events. Like a successful (or failed) deploy.

https://www.netlify.com/docs/functions/#event-triggered-functions

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.