Skip to content

Commit

Permalink
add file to ignore when packaging for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
fershad committed Jan 1, 2024
1 parent 51b85e2 commit f4a6834
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,24 @@ src/constants/test-constants.js
# Data
# exclude mode data
data/**

# but include the output js / json files
!data/output/**
# and include the minimized versions
!src/data/**
dist/data/**

# Local sqlite db
url2green.db
url2green.json

# don't track workspace files
*.vscode
*.code-workspace
*.code-workspace

# don't publish IIFE files, will commit these to git for people who need them
dist/iife/**

# don't publish the src folder, that code can be found on github
src/**

## ignore the fixup file
fixup

## don't publish the dotfiles
.*

0 comments on commit f4a6834

Please sign in to comment.