From 458d895d5b28492367295b0679af6543f25d4b48 Mon Sep 17 00:00:00 2001 From: Lovell Fuller 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 feb7955cb..000000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -/test/ -.npmignore diff --git a/package.json b/package.json index 192c06f37..7538c84f9 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",