Skip to content

Commit

Permalink
Improve .gitignore and .npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
pokusew committed Jan 25, 2020
1 parent 1f5416d commit dffb9ef
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
# node, npm
node_modules/
### GENERAL

# Windows
Thumbs.db
Desktop.ini

# Mac
# macOS
.DS_Store
.supported

# common code editors
.atom/
.vscode/

# NetBeans
/nbproject/private/
nbproject/private/

# WebStorm
**/.idea/workspace.xml
**/.idea/tasks.xml
# JetBrains IDEs
# see https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
captures

# VSCode
.vscode/
# common files
*.log

dist/

lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
### PROJECT

pids
logs
results
# node, npm
node_modules/

build/
# built Node.js C++ addon
/build/
2 changes: 2 additions & 0 deletions .idea/dictionaries/pokusew.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Keeping files out of your package
# docs: https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
# note: when both .npmignore and .gitignore are present, only .npmignore has effect
# related: https://stackoverflow.com/questions/24942161/does-npm-ignore-files-listed-in-gitignore

### GENERAL

# Windows
Thumbs.db
Desktop.ini

# macOS
.DS_Store
.supported

# common code editors
.atom/
.vscode/

# NetBeans
nbproject/private/

# JetBrains IDEs
# no need to ship metadata
.idea/

# common files
*.log


### PROJECT

# node, npm
node_modules/

# built Node.js C++ addon
/build/

0 comments on commit dffb9ef

Please sign in to comment.