add npm script for travis