I have no opinions about this, myself.  I just copied the relevant `.gitignore` rules into the `.npmignore` file.  (Some files, such as `.DS_Store` and `.svn` and `.git` are always ignored by npm, no matter what.)