From f573e283487c8d081921b598c89d112d39824ebc Mon Sep 17 00:00:00 2001 From: Matthew Elphick Date: Mon, 18 Sep 2017 18:16:54 +0100 Subject: [PATCH] Fix npmignore (#1251) This fixes the npmignore to also add a rule to exclude the children in js/ from being ignored, so that they will be added when npm packs the package. --- .npmignore | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.npmignore b/.npmignore index f0134a3b..b6e7228a 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,11 @@ -Makefile -index.html -php/ -python/ -web/ +# ANY FUTURE CHANGES TO THIS FILE NEED TO BE MANUALLY TESTED LOCALLY +# USE npm pack AND VERIFY THAT PACKAGE CONTENTS ARE STILL VALID +# Ignore all files +* + +# Add exceptions +!js/ +!js/**/* +!CONTRIBUTING.MD +# README, LICENSE, CHANGELOG and package.json are always added +