update npm scripts and travis-ci badge