From 364383639ba81b9392e09ef96f99123b54e5fc62 Mon Sep 17 00:00:00 2001 From: nexdrew Date: Wed, 6 Apr 2016 13:46:58 -0400 Subject: [PATCH] prefer files stanza in package.json over .npmignore, exclude tests Close #157 --- .npmignore | 4 ---- package.json | 7 ++++++- 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 534108e3..00000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -node_modules/ -coverage/ -.nyc_output/ -nyc_output/ diff --git a/package.json b/package.json index 3f1e7c8c..f34c128e 100644 --- a/package.json +++ b/package.json @@ -13,5 +13,10 @@ "repository": "https://github.com/npm/node-semver", "bin": { "semver": "./bin/semver" - } + }, + "files": [ + "bin", + "range.bnf", + "semver.js" + ] }