Lifecycle scripts for npm (prepublish, test, and "build")