Use npm scripts for building and test.