From 630b45125f560524914910bcc2192c437c349e6a Mon Sep 17 00:00:00 2001 From: Seth Holladay Date: Thu, 2 Feb 2017 23:14:34 -0500 Subject: [PATCH] Use whitelist instead of .npmignore --- .npmignore | 14 -------------- package.json | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 70612f0ab..000000000 --- a/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -# We want to keep tests/example.intern.js but npm -# does not seem to allow us to unignore files -*.tgz -.github/ -.travis.yml -browser_modules/ -examples/ -src/ - -support/* -!support/fixdeps.js - -tests/* -!tests/example.intern.js diff --git a/package.json b/package.json index 58de46584..1f9349979 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,20 @@ "test": "node support/test.js" }, "bugs": "https://github.com/theintern/intern/issues", + "files": [ + "bin", + "chai.js", + "client.html", + "client.js", + "lib", + "main.js", + "order.js", + "runner.js", + "support/fixdeps.js", + "tasks", + "tests/example.intern.js", + "typings" + ], "keywords": [ "javascript", "test",