From 3de52b2289614c901b68e18b58c5b90823bde5fb Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 31 Oct 2022 13:59:18 -0400 Subject: [PATCH] package: set `files` field This ensures only the files necessary at runtime are published to npm https://docs.npmjs.com/cli/v8/configuring-npm/package-json#files --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index ac2577f..2149daf 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "author": "Brian White ", "description": "A streaming parser for HTML form data for node.js", "main": "./lib/index.js", + "files": [ + "lib" + ], "dependencies": { "streamsearch": "^1.1.0" },