Add a 5s timeout when running `npm info` and `npm install`

This prevents those two commands from getting stuck when there is
no internet connection.
2c1fd7b0bfAntonio Scandurra committed on 1/16/2023, 3:51:45 PMparent9779663
1 file changedLine totals unavailable