Hacker News new | ask | show | jobs
by janaagaard 1214 days ago
What’s the benefit of the custom download-package script over npm install? Why would you want to roll a custom solution here?
3 comments

Didn't get the idea as well. The end part of the post is like a seed for a future custom package manager or something
NPM will automatically install dependencies and run post-install scripts. Those are normally a convenience, but I can understand why someone would want to skip that.
Still. I'm all for avoiding npm when I can get away with it, but for TFA's case I would have just used the `--ignore-scripts` flag.
As the project becomes more than a simple example and requires more third-party libraries, this is just unmaintainable.