From 9f93816aa4cdc35edf9d40ee7e67b3170d3b2be9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 11 Jul 2019 22:31:52 -0600 Subject: [PATCH] safely restrict npm "files" to [ "lib" ] --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 8eb3c21..78a0f7e 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "3.0.0", "description": "Gandi + Let's Encrypt for Node.js - ACME dns-01 challenges w/ ACME.js and Greenlock.js", "main": "index.js", + "files": [ + "lib" + ], "scripts": { "test": "node test.js" },