From a03e6930b0ccbaff9347261f8de07c0db82d3bdd Mon Sep 17 00:00:00 2001 From: Phillip Johnsen Date: Mon, 23 Mar 2015 22:28:39 +0100 Subject: [PATCH] Specifying files in package.json Good npm citizens should specify which files a npm module consists of so module users dont have to download all the unnecessary things. --- .npmignore | 2 -- package.json | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 76e579a..0000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -test - diff --git a/package.json b/package.json index 5da420f..b418299 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,13 @@ "bin": { "mustache": "./bin/mustache" }, + "files": [ + "mustache.js", + "mustache.min.js", + "bin", + "wrappers", + "LICENSE" + ], "volo": { "url": "https://raw.github.com/janl/mustache.js/{version}/mustache.js" },