Fix npm configuration for travis.