Update .gitattributes.
Update .gitignore to ignore local Node module dependencies.
Add .npmignore to ignore git repository.