Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What’s the benefit of the custom download-package script over npm install? Why would you want to roll a custom solution here?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: