From 719701b71c89e0325e964604df050f4e5b84a26c Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 7 Apr 2021 20:20:12 -0400 Subject: [PATCH] fix: replace .npmignore with "files" prop (#688) --- .npmignore | 5 ----- package.json | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 71a0f204..00000000 --- a/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!scripts/cli.js -!dist/**/*.js -!dist/**/*.cache -!dist/**/*.ts diff --git a/package.json b/package.json index 388ccd0f..dd604d80 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,9 @@ "bin": { "ncc": "./dist/ncc/cli.js" }, + "files": [ + "dist" + ], "scripts": { "build": "node scripts/build", "build-test-binary": "cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node",