build: fix inconsistencies with .npmignore

This commit is contained in:
Karl-Philipp Wulfert
2018-12-04 14:11:14 +01:00
parent 0017c0f3ce
commit 827d87ba03
3 changed files with 18 additions and 1 deletions

12
templates/.npmignore Normal file
View File

@@ -0,0 +1,12 @@
# Ignore all files/folders by default
# See https://stackoverflow.com/a/29932318
/*
# Except this files/folders
!docs
!lib
!LICENSE
!package.json
!package-lock.json
!README.md
!tsconfig.json
!tslint.json