Skip to content

Commit

Permalink
Update .npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Aug 13, 2024
1 parent eaa1aa8 commit c67e342
Showing 1 changed file with 43 additions and 3 deletions.
46 changes: 43 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,47 @@
# .npmignore - Files and directories to exclude from the npm package

# Node modules - Exclude installed dependencies
node_modules/

# Build directories - Exclude build and public output directories
public/
dist/

# Build configuration files - Exclude build config files
webpack.config.js
webpack.config.ts
.DS_Store
*/.DS_Store
dist/package.json

# OS-specific files - Exclude system-specific files
.DS_Store # macOS Finder metadata
*/.DS_Store # .DS_Store in any subdirectory

# Package metadata - Exclude unnecessary package metadata files
dist/package.json

# Logs and temporary files - Exclude log files and temporary directories
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.log
*.tmp

# IDE and editor configurations - Exclude IDE-specific settings and files
.vscode/
.idea/
*.swp
*.swo

# Test and documentation files - Exclude test files and documentation
tests/
*.spec.js
*.spec.ts
*.test.js
*.test.ts
coverage/
docs/
*.md

# Ignore all dotfiles (except for specific ones needed)
.*
!.npmignore
!.gitignore

0 comments on commit c67e342

Please sign in to comment.