Skip to content

Instantly share code, notes, and snippets.

@euoia
Last active December 23, 2020 22:41
Show Gist options
  • Save euoia/aa6d3a58476c98f047bb to your computer and use it in GitHub Desktop.
Save euoia/aa6d3a58476c98f047bb to your computer and use it in GitHub Desktop.
Basic Node.js .gitignore for Mac OS X
##########################
# Application specfic
##########################
# config/config.js
##########################
# General
##########################
#####
# OS X temporary files
#
# c.f. http://www.westwind.com/reference/os-x/invisibles.html
.DS_Store
# c.f. http://www.westwind.com/reference/os-x/invisibles.html
.Trashes
# c.f. http://www.westwind.com/reference/os-x/invisibles.html
*.swp
#####
# Node stuff
#
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Coverage directory used by tools like istanbul
coverage
# 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 directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment