From baf1a71f66cadc72b5085911ed810e2793041102 Mon Sep 17 00:00:00 2001 From: Juuso Backman Date: Fri, 28 Nov 2014 14:28:20 +0200 Subject: [PATCH] Instead of ignoring files, explicitly specify what is included in the npm tarball --- .npmignore | 4 ---- package.json | 11 +++++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 329a1789..00000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -.git* -.npmignore -.travis.yml -.jshintrc \ No newline at end of file diff --git a/package.json b/package.json index 736f531c..c24a2764 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,17 @@ "url": "https://github.com/SC5/sc5-styleguide.git" }, "main": "./lib/styleguide.js", + "files": [ + "bin/", + "lib/", + "test/", + ".bowerrc", + ".jscsrc", + "bower.json", + "CHANGELOG.md", + "LICENSE", + "README.md" + ], "dependencies": { "body-parser": "^1.9.2", "chalk": "^0.5.1",