From 9534a252706a7c11512ec5d4523ba250bab7b5be Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Wed, 5 Feb 2020 16:28:44 +0200 Subject: [PATCH] Fix contribute.json location as per spec Signed-off-by: Jason Robinson --- res/contribute.json => contribute.json | 0 package.json | 3 ++- scripts/copy-res.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename res/contribute.json => contribute.json (100%) diff --git a/res/contribute.json b/contribute.json similarity index 100% rename from res/contribute.json rename to contribute.json diff --git a/package.json b/package.json index 004d6d7cc1..60d28d1fb0 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "LICENSE", "README.md", "AUTHORS.rst", - "package.json" + "package.json", + "contribute.json" ], "style": "bundle.css", "scripts": { diff --git a/scripts/copy-res.js b/scripts/copy-res.js index b8b9e398a9..e25d07fffc 100755 --- a/scripts/copy-res.js +++ b/scripts/copy-res.js @@ -66,7 +66,7 @@ const COPY_LIST = [ ["node_modules/matrix-react-sdk/res/media/**", "webapp/media"], ["node_modules/olm/olm_legacy.js", "webapp", { directwatch: 1 }], ["./config.json", "webapp", { directwatch: 1 }], - ["res/contribute.json", "webapp"], + ["contribute.json", "webapp"], ]; const parseArgs = require('minimist');