From 3e8fcac3031bcbb6d0838bf0d9f72b122d90941c Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 1 Nov 2016 15:15:31 +0000 Subject: [PATCH] Explicitly list file sin package.json To avoid publishing whatever happens to be in the working copy. Equivalent of https://github.com/vector-im/vector-web/pull/2516 for react-sdk. --- package.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package.json b/package.json index baeb670c5e..498514a2b0 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,23 @@ }, "license": "Apache-2.0", "main": "lib/index.js", + "files": [ + "CHANGELOG.md", + "CONTRIBUTING.rst", + "LICENSE", + "README.md", + "code_style.md", + "git-revision.txt", + "header", + "jenkins.sh", + "karma.conf.js", + "lib", + "package.json", + "release.sh", + "scripts", + "src", + "test" + ], "bin": { "reskindex": "scripts/reskindex.js" },