mod; switch to npm scripts for building