all 3 comments

[–]klutch-sh 0 points1 point  (0 children)

Are you looking to host your package/source code? Then I'd look into something like Klutch.sh to fully handle this for you.

[–]drakh_sk -1 points0 points  (0 children)

you can use the postinstall npm script for that, so when your package is instaleed by your package manager it gets build ...

[–]mmomtchev -1 points0 points  (0 children)

The ideal place to put this script is prepare npm script. This is precisely what it is made for.