Fixed error with npm publishing and .gitignore template