gitignore for node js
Edithaving node_modules in your git repo? create a .gitignore in the root folder of your project with the following content !
# Logs logs *.log npm-debug.log* # Runtime data pids *.pid *.seed # Directory for instrumented libs generated by jscoverage/JSCover lib-cov # Coverage directory used by tools like istanbul coverage # nyc test coverage .nyc_output # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt # node-waf configuration .lock-wscript # Compiled binary addons (http://nodejs.org/api/addons.html) build/Release # Dependency directories node_modules jspm_packages # Optional npm cache directory .npm # Optional REPL history .node_repl_history
reference: https://github.com/github/gitignore/blob/master/Node.gitignore
image: https://www.perforce.com/blog/141113/git-beyond-basics-version-ignore-file
gitignore for node js
Reviewed by DF
on
12:50:00 AM
Rating: