uses prepublish rather than install. fixes #6

tested via npm install -g

thanks @ldstein for reporting this!