Rejig npm installs dependencies for travis ci