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.
This commit is contained in:
Matthew Elphick 2017-09-18 18:16:54 +01:00 committed by Liam Newman
parent 35343ce197
commit f573e28348

View File

@ -1,5 +1,11 @@
Makefile # ANY FUTURE CHANGES TO THIS FILE NEED TO BE MANUALLY TESTED LOCALLY
index.html # USE npm pack AND VERIFY THAT PACKAGE CONTENTS ARE STILL VALID
php/ # Ignore all files
python/ *
web/
# Add exceptions
!js/
!js/**/*
!CONTRIBUTING.MD
# README, LICENSE, CHANGELOG and package.json are always added