Skip to content

Commit 01a6372

Browse files
authored
fix: Don’t include tests when installed as a dependency
1 parent 72f3368 commit 01a6372

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "3.0.0",
44
"description": "Finds all JavaScript CommmonJS require() dependencies from a filename.",
55
"main": "main.js",
6+
"files": [
7+
"main.js",
8+
"!test",
9+
"!test/**"
10+
],
611
"scripts": {
712
"test": "npx ava"
813
},

0 commit comments

Comments
 (0)