From f260b571d196aeb367f5c2250935a1eb576cfe9b Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Wed, 22 May 2024 11:26:21 +0200 Subject: [PATCH] feat: add `"files"` to generated `package.json` --- plugin/templates/_package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/templates/_package.json b/plugin/templates/_package.json index 34a615e..f9fdb05 100644 --- a/plugin/templates/_package.json +++ b/plugin/templates/_package.json @@ -10,6 +10,9 @@ "author": "<%- userName.replace(/"/g, '\\"') %>", "main": "./lib/index.js", "exports": "./lib/index.js", + "files": [ + "lib" + ], "scripts": { "lint": "npm-run-all \"lint:*\"", "lint:eslint-docs": "npm-run-all \"update:eslint-docs -- --check\"",