Skip to content

Commit 9edaafb

Browse files
committed
chore(package) Use a "files" list
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.
1 parent ae39766 commit 9edaafb

File tree

2 files changed

+7
-49
lines changed

2 files changed

+7
-49
lines changed

.npmignore

Lines changed: 0 additions & 49 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
"workspaces": [
66
"docs"
77
],
8+
"files": [
9+
"bin",
10+
"docs/content/**/*.md",
11+
"docs/output/**/*.html",
12+
"lib",
13+
"man"
14+
],
815
"keywords": [
916
"install",
1017
"modules",

0 commit comments

Comments
 (0)