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
This commit is contained in:
Jérémie Astori 2018-06-10 17:35:02 -04:00
parent 7ea32d8a71
commit a3f88ffa5b
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -58,7 +58,6 @@
"semver": "5.5.0", "semver": "5.5.0",
"socket.io": "2.1.1", "socket.io": "2.1.1",
"spdy": "3.4.7", "spdy": "3.4.7",
"sqlite3": "4.0.0",
"thelounge-ldapjs-non-maintained-fork": "1.0.2", "thelounge-ldapjs-non-maintained-fork": "1.0.2",
"tlds": "1.203.1", "tlds": "1.203.1",
"ua-parser-js": "0.7.18", "ua-parser-js": "0.7.18",
@ -66,6 +65,9 @@
"web-push": "3.3.1", "web-push": "3.3.1",
"yarn": "1.7.0" "yarn": "1.7.0"
}, },
"optionalDependencies": {
"sqlite3": "4.0.0"
},
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "5.1.0-11", "@fortawesome/fontawesome-free": "5.1.0-11",
"babel-core": "6.26.3", "babel-core": "6.26.3",