Provide npm scripts for build tasks and use in Travis