Having an appropriate .gitignore file in repository would be nice. This PR adds the aforementioned file with contents from GitHub's Node.js .gitignore template.
I removed node_modules directory because:
it's usually a good practice to have npm resolve dependencies based on the contents of package.json file rather than checking the whole node_modules directory into the repository.
the just added .gitignore file has a line with node_modules in it.
I also updated the setup instructions in README.md file.
PS: Note that the diff (incorrectly) shows a rename operation on a deeply nested .npmignore file but I merely removed the node_modules directory and added a .gitignore file to the root of the repo.
Hello,
Having an appropriate .gitignore file in repository would be nice. This PR adds the aforementioned file with contents from GitHub's Node.js
.gitignore
template.I removed node_modules directory because:
I also updated the setup instructions in README.md file.
PS: Note that the diff (incorrectly) shows a rename operation on a deeply nested .npmignore file but I merely removed the node_modules directory and added a .gitignore file to the root of the repo.