Skip to content

Commit beabea0

Browse files
committed
reduce the number of files in the npm package
Reduce the number of files in the npm package by using the files array whitelist. README.md and LICENCE are automatically included by npm: https://docs.npmjs.com/files/package.json#files
1 parent ac81e36 commit beabea0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.npmignore

-1
This file was deleted.

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
"devDependencies": {
2929
"bl": "~0.9.3",
3030
"yauzl": "~2.3.1"
31-
}
31+
},
32+
"files": [
33+
"index.js"
34+
]
3235
}

0 commit comments

Comments
 (0)