From 6d2cb2b15689f225d4ab3ea184e315d202819683 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Wed, 2 Aug 2023 16:47:04 -0700 Subject: [PATCH] fix: don't publish unnecessary files in package (#105) --- .npmignore | 9 --------- package.json | 4 ++++ 2 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 63f06ef..0000000 --- a/.npmignore +++ /dev/null @@ -1,9 +0,0 @@ -.npmignore -.DS_Store -npm-debug.log -script/ -spec/ -test/ -script/ -.travis.yml -appveyor.yml diff --git a/package.json b/package.json index a347d4b..80ae3d7 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,10 @@ "description": "Node module to edit resources of exe", "main": "lib/rcedit.js", "types": "lib/index.d.ts", + "files": [ + "bin", + "lib/index.d.ts" + ], "scripts": { "docs:build": "node script/build-docs.js", "mocha": "mocha test/*.js",