From 39f8212ed72fe1166e6d9169e3c54da604b40095 Mon Sep 17 00:00:00 2001 From: amrw Date: Wed, 9 Dec 2020 22:36:11 +0100 Subject: [PATCH] Update `package.json` to remove warnings, add details - get rid of the NPM warnings related to missing fields, - add more details about the repository. --- package.json | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 02ce212..868aa6c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,31 @@ { "name": "teddit", "version": "0.0.3", - "description": "", + "description": "A free and open source alternative Reddit front-end focused on privacy.", + "homepage": "https://teddit.net", + "bugs": { + "url": "https://codeberg.org/teddit/teddit/issues" + }, + "license": "AGPL 3.0", + "funding": [ + { + "type": "XMR", + "url": "832ogRwuoSs2JGYg7wJTqshidK7dErgNdfpenQ9dzMghNXQTJRby1xGbqC3gW3GAifRM9E84J91VdMZRjoSJ32nkAZnaCEj" + }, + { + "type": "BTC", + "url": "bc1qlcrmt2pvlh4eq69l3l4h6z5jg74z2m2q3pasan" + } + ], "main": "app.js", + "repository": { + "type": "git", + "url": "https://codeberg.org/teddit/teddit" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "node app.js" + }, "dependencies": { "compression": "^1.7.4", "cookie-parser": "^1.4.5", @@ -14,11 +37,5 @@ "pug": "^3.0.0", "redis": "^3.0.2" }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "node app.js" - }, - "author": "", - "license": "" + "devDependencies": {} }