build: move to npm scripts

This will hopefully help mitigate that annoying issue where Gulp simply hangs indefinitely when running tests on Travis.