Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
janaagaard
· 3y ago · 0 comments
What’s the benefit of the custom download-package script over npm install? Why would you want to roll a custom solution here?
Comments
[–]
jslakro
3y ago
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
[–]
giaour
3y ago
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.
[–]
quectophoton
3y ago
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.
[–]
rwalle
3y ago
As the project becomes more than a simple example and requires more third-party libraries, this is just unmaintainable.