From 43679c750b238ae81f6949dca08fcef7e30187c3 Mon Sep 17 00:00:00 2001 From: John French Date: Tue, 26 Jan 2021 15:41:08 +0000 Subject: [PATCH] packaging: list files to be published to npm PR-URL: https://github.com/nodejs/node-addon-api/pull/889 Reviewed-By: Michael Dawson --- .npmignore | 2 -- package.json | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index feb7955..0000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -/test/ -.npmignore diff --git a/package.json b/package.json index 192c06f..7538c84 100644 --- a/package.json +++ b/package.json @@ -329,6 +329,11 @@ "type": "git", "url": "git://github.com/nodejs/node-addon-api.git" }, + "files": [ + "*.{c,h,gyp,gypi}", + "package-support.json", + "tools/" + ], "scripts": { "prebenchmark": "node-gyp rebuild -C benchmark", "benchmark": "node benchmark",