fixed prepublish script and updated .gitignore
Merge branch 'release/1.1.1' into develop