From f4a68349c4eb0fae6ae32a7bd53cd434863847dd Mon Sep 17 00:00:00 2001 From: fershad <27988517+fershad@users.noreply.github.com> Date: Mon, 1 Jan 2024 17:09:36 +0800 Subject: [PATCH] add file to ignore when packaging for npm --- .npmignore | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.npmignore b/.npmignore index 5a20065..62a39bb 100644 --- a/.npmignore +++ b/.npmignore @@ -18,11 +18,7 @@ src/constants/test-constants.js # Data # exclude mode data data/** - -# but include the output js / json files -!data/output/** -# and include the minimized versions -!src/data/** +dist/data/** # Local sqlite db url2green.db @@ -30,4 +26,16 @@ url2green.json # don't track workspace files *.vscode -*.code-workspace \ No newline at end of file +*.code-workspace + +# don't publish IIFE files, will commit these to git for people who need them +dist/iife/** + +# don't publish the src folder, that code can be found on github +src/** + +## ignore the fixup file +fixup + +## don't publish the dotfiles +.* \ No newline at end of file