use prepublish instead of build to trash lib