From 4f3a9989ffcbda192b6c3d6d2b3b8e50de42334e Mon Sep 17 00:00:00 2001 From: Hadrien Milano Date: Wed, 12 Oct 2016 14:05:33 -0700 Subject: [PATCH] Use "files" field in package.json Include only files relevant to the end user on npm. --- .gitignore | 3 +-- package.json | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5894e207..6adcd013 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ node_modules/* -!node_modules/node-static -npm-debug.log +npm-debug.log diff --git a/package.json b/package.json index 95e2318f..f42a2079 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,10 @@ "pretest": "common bin/http-server lib/ test", "test": "vows --spec --isolate" }, + "files": [ + "lib", + "bin" + ], "contributors": [ { "name": "Charlie Robbins",