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.

PR-URL: #3365
Credit: @isaacs
Close: #3365
Reviewed-by: @wraithgar
  • Loading branch information
isaacs authored and wraithgar committed Jun 10, 2021
1 parent a4a0e68 commit 7d5b049
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 7d5b049

Please sign in to comment.