Skip to content

Commit 38d87cf

Browse files
committed
Update .npmignore
1 parent 7ce3003 commit 38d87cf

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.npmignore

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,33 @@
1+
# Ignore everything by default
2+
*
3+
.*
4+
5+
# Whitelist essential files and directories
6+
7+
# package.json is always included by npm, but being explicit can be clear
8+
!package.json
9+
10+
# Include README and LICENSE
11+
!README.md
12+
!LICENSE
13+
14+
# Include the bin directory and its contents
15+
!bin/
16+
!bin/**
17+
18+
# Include the dist directory (compiled code) and its contents
119
!dist/
2-
!bin/
20+
!dist/**
21+
22+
# Ensure common unwanted files/directories are definitely ignored
23+
# (though '*' and '.*' should cover most of these)
24+
node_modules/
25+
src/
26+
tsconfig.json
27+
jest.config.js
28+
eslint.config.cjs
29+
.github/
30+
*.log
31+
.DS_Store
32+
Thumbs.db
33+
.vscode/

0 commit comments

Comments
 (0)