From a3f88ffa5b194adfb82030765c07b9c211922b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sun, 10 Jun 2018 17:35:02 -0400 Subject: [PATCH] Mark sqlite3 as an optional dependency Reminder: `optionalDependencies` simply means the install will not fail if that dependency fails to install, not that it will not get installed by default. We currently handle the case in code when sqlite3 is not working properly. See https://docs.npmjs.com/files/package.json#optionaldependencies --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 774fd566..47d18111 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,6 @@ "semver": "5.5.0", "socket.io": "2.1.1", "spdy": "3.4.7", - "sqlite3": "4.0.0", "thelounge-ldapjs-non-maintained-fork": "1.0.2", "tlds": "1.203.1", "ua-parser-js": "0.7.18", @@ -66,6 +65,9 @@ "web-push": "3.3.1", "yarn": "1.7.0" }, + "optionalDependencies": { + "sqlite3": "4.0.0" + }, "devDependencies": { "@fortawesome/fontawesome-free": "5.1.0-11", "babel-core": "6.26.3",