Skip to content

Commit 458d895

Browse files
lovellmhdawson
authored andcommitted
packaging: list files to be published to npm
PR-URL: #889 Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent f7ed249 commit 458d895

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.npmignore

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

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,11 @@
329329
"type": "git",
330330
"url": "git://github.com/nodejs/node-addon-api.git"
331331
},
332+
"files": [
333+
"*.{c,h,gyp,gypi}",
334+
"package-support.json",
335+
"tools/"
336+
],
332337
"scripts": {
333338
"prebenchmark": "node-gyp rebuild -C benchmark",
334339
"benchmark": "node benchmark",

0 commit comments

Comments
 (0)