fixed gitignore and npmignore files, now handling npm global settings