Skip to content

Commit 7d5b049

Browse files
isaacswraithgar
authored andcommitted
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. PR-URL: #3365 Credit: @isaacs Close: #3365 Reviewed-by: @wraithgar
1 parent a4a0e68 commit 7d5b049

File tree

2 files changed

+7
-49
lines changed

2 files changed

+7
-49
lines changed

.npmignore

-49
This file was deleted.

package.json

+7
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)