[fix] run browserify with npm run-script compile
[minor] also run on pretest and prepublish