Skip to content

Commit 42b6faf

Browse files
michaeloboyleclaude
andcommitted
chore: Add .npmignore for clean npm package
Exclude development files from npm package: - Source files (src/, tests/, benchmarks/, examples/) - Development tools (.claude/, .claude-flow/, .hive-mind/, memory/) - Scripts and databases (scripts/, *.db) - Documentation (docs/, CLAUDE.md) - Build configs (tsconfig.json, jest.config.js) Package size: 21.7 MB → 55.4 kB (235 kB unpacked) Files: 292 → 52 Keeps only essential runtime files (dist/, README, CHANGELOG, LICENSE). 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
1 parent 987e68f commit 42b6faf

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.npmignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Source files
2+
src/
3+
tests/
4+
benchmarks/
5+
examples/
6+
7+
# Development files
8+
*.test.ts
9+
*.spec.ts
10+
tsconfig.json
11+
jest.config.js
12+
.eslintrc.js
13+
.prettierrc
14+
15+
# Documentation (keep README, CHANGELOG, LICENSE, CONTRIBUTING)
16+
docs/
17+
CLAUDE.md
18+
.mcp.json
19+
20+
# Claude Code & Development
21+
.claude/
22+
.claude-flow/
23+
.hive-mind/
24+
memory/
25+
scripts/
26+
*.db
27+
*.db-shm
28+
*.db-wal
29+
30+
# Build artifacts
31+
coverage/
32+
*.log
33+
*.tsbuildinfo
34+
35+
# Git
36+
.git/
37+
.gitignore
38+
.github/
39+
40+
# IDE
41+
.vscode/
42+
.idea/
43+
*.swp
44+
*.swo
45+
46+
# Misc
47+
.DS_Store
48+
node_modules/

0 commit comments

Comments
 (0)