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",