Skip to content

Commit 03097f6

Browse files
committed
Update .gitignore & .npmignore files
1 parent 115fe5c commit 03097f6

File tree

2 files changed

+48
-17
lines changed

2 files changed

+48
-17
lines changed

.gitignore

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
# - Do not allow installed node modules to be committed. Doing `npm install -d` will bring them in root or other places.
2-
node_modules
1+
# Node
2+
node_modules/*
3+
npm-debug.log
34

4-
# - Do not commit any log file from anywhere
5-
*.log
5+
# TypeScript
6+
*.js
7+
*.map
8+
*.d.ts
69

7-
# - Prevent addition of OS specific file explorer files
8-
Thumbs.db
9-
.DS_Store
10+
# JetBrains
11+
.idea
12+
.project
13+
.settings
14+
.idea/*
15+
*.iml
1016

11-
# - Prevent Sublime text IDE files from being commited to repository
12-
*.sublime-*
17+
# VS Code
18+
.vscode/*
1319

14-
# - Prevent NetBeans IDE files from being commited to repository
15-
nbproject/
20+
# Windows
21+
Thumbs.db
22+
Desktop.ini
1623

17-
# - Prevent diff backups from SourceTree from showing as commit.
18-
*.BACKUP.*
19-
*.BASE.*
20-
*.LOCAL.*
21-
*.REMOTE.*
22-
*.orig
24+
# Mac
25+
.DS_Store
26+
**/.DS_Store

.npmignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Node
2+
node_modules/*
3+
npm-debug.log
4+
5+
# DO NOT IGNORE TYPESCRIPT FILES FOR NPM
6+
# TypeScript
7+
# *.js
8+
# *.map
9+
# *.d.ts
10+
11+
# JetBrains
12+
.idea
13+
.project
14+
.settings
15+
.idea/*
16+
*.iml
17+
18+
# VS Code
19+
.vscode/*
20+
21+
# Windows
22+
Thumbs.db
23+
Desktop.ini
24+
25+
# Mac
26+
.DS_Store
27+
**/.DS_Store

0 commit comments

Comments
 (0)