Add prepublish script to package.json.