Use the silent option when listing npm packages

If warnings are output it can't be parsed as JSON.