Veeva Systems interview question

How would you implement a npm type package dependency system