Closed futurechan closed 10 years ago
It would also be nice to add a silent option, but that could pretty easily put in after this is merged in
@ksmithut what's a silent option?
http://blog.izs.me/post/1675072029/10-cool-things-you-probably-didnt-realize-npm-could-do
You can use --loglevel silent
for npm to suppress all of the logging (except for the stuff at the very end, still trying to figure that out)
@joakimbeng I was wondering if you had a chance to look at this PR.
@futurechan sorry for the slow response, summer time you know :)
Looks good, thank you!
I added a parameter to install() to support an
opts
object. Ifproduction
is set to a truthy value on theopts
object, the--production
flag is appended to the command-line args.