Skip to content

Commit

Permalink
chore(package) Use a "files" list
Browse files Browse the repository at this point in the history
We have a fairly small number of things that we wish to ship in our
package, and they're all nicely arranged in a small number of folders.

Instead of having a sprawling .npmignore file, we should just get with
the recommended best practice, and use a "files" list in package.json.
  • Loading branch information
isaacs committed Jun 3, 2021
1 parent ae39766 commit 9edaafb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .npmignore

This file was deleted.

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"workspaces": [
"docs"
],
"files": [
"bin",
"docs/content/**/*.md",
"docs/output/**/*.html",
"lib",
"man"
],
"keywords": [
"install",
"modules",
Expand Down

0 comments on commit 9edaafb

Please sign in to comment.