Y
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
jslakro
1213 days 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
link
giaour
1213 days 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.
link
quectophoton
1213 days 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.
link
rwalle
1213 days ago
As the project becomes more than a simple example and requires more third-party libraries, this is just unmaintainable.
link