zotero / citeproc-js-server

Web service to generate citations and bibliographies using citeproc-js
Other
60 stars 39 forks source link

Add .gitignore and remove node_modules directory from the repository #29

Closed fardjad closed 4 years ago

fardjad commented 8 years ago

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:

  1. 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.
  2. 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.