implementing watchify, npm scripts