diff options
-rw-r--r-- | .npmignore | 4 | ||||
-rw-r--r-- | test/packages/npm-test-files/package.json | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.npmignore b/.npmignore index 6ab186883..5ddef3560 100644 --- a/.npmignore +++ b/.npmignore @@ -11,3 +11,7 @@ npm-debug.log ./npmrc .gitignore release/ + +# don't ignore .npmignore files +# these are used in some tests. +!.npmignore diff --git a/test/packages/npm-test-files/package.json b/test/packages/npm-test-files/package.json index 7c067828e..2afa12dc5 100644 --- a/test/packages/npm-test-files/package.json +++ b/test/packages/npm-test-files/package.json @@ -5,5 +5,6 @@ , "sub/include" , "sub/include2" , "sub/include4" - , "test.sh" ] + , "test.sh" + , ".npmignore" ] , "scripts":{"test":"bash test.sh"}} |