Skip to content

Instantly share code, notes, and snippets.

@andreasonny83
Last active March 21, 2023 20:41
Embed
What would you like to do?
Gitignore template for JavaScript projects
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# 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
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# IDEs and editors
.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
.sass-cache
connect.lock
typings
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Dependency directories
node_modules/
jspm_packages/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next
# Lerna
lerna-debug.log
# System Files
.DS_Store
Thumbs.db
@aolveramx
Copy link

Very useful 👌🏻. Thank you!

@MarufSharifi
Copy link

thanks

@SerhiyAndryeyev
Copy link

Thanks!

@gg-fsd
Copy link

gg-fsd commented Jan 16, 2022

Thanks for the template!

@jais-s
Copy link

jais-s commented Feb 25, 2022

Thanks a lot!

@buraktkn
Copy link

buraktkn commented Mar 1, 2022

Thank you it is very useful.

@Ravi-Pathak-demo
Copy link

Thanks 😍

@amareshcoding
Copy link

Thank you for sharing it.

@znu-labs
Copy link

znu-labs commented Jun 7, 2022

I just included this file in a repository. Thank you very much for sharing.

@grover-righter
Copy link

Thanks for shaing - useful and matches my needs exactly.

@LedaHuerta
Copy link

thanks a lot!

@anatolo
Copy link

anatolo commented Jun 21, 2022

Thanks a lot! :-)

@oybekdev1998
Copy link

Thanks bro!

@vachanmn123
Copy link

Thanks!

@ibernabel
Copy link

Thank you for your support!

@thebigdatajedi
Copy link

Sorry thought I was posting to a different gist. :-P

@WojtekCodesToday
Copy link

OK!

@bztoy
Copy link

bztoy commented Mar 14, 2023

Thanks for sharing.

@tricerintops
Copy link

Does anyone know why GitHub doesn't already have a .gitignore template for javascript in the dropdown when creating a new repository?

@WojtekCodesToday
Copy link

Does anyone know why GitHub doesn't already have a .gitignore template for javascript in the dropdown when creating a new repository?

probably github devs (creators) being lazy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment