From cf7d7550cdf2ad968c4bcefecb2987125603672a Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Thu, 23 May 2024 15:49:45 +0200 Subject: [PATCH] feat: add `"files"` to generated `package.json` (#190) --- 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\"",