Adds prebublish script and npmignore file