space optimizations for node_modules and client stats removal

- replace sharp with lighter jimp alternative
- remove stats in builds

fixes #2807
This commit is contained in:
Rigel Kent
2020-05-31 20:03:28 +02:00
committed by Chocobozzz
parent b84d4c809f
commit e6dfa58689
7 changed files with 497 additions and 197 deletions

View File

@@ -112,6 +112,7 @@
"ipaddr.js": "1.9.1",
"is-cidr": "^3.0.0",
"iso-639-3": "^2.0.0",
"jimp": "^0.12.1",
"js-yaml": "^3.5.4",
"jsonld": "~3.0.1",
"lodash": "^4.17.10",
@@ -135,7 +136,6 @@
"scripty": "^2.0.0",
"sequelize": "5.21.5",
"sequelize-typescript": "^1.0.0-beta.4",
"sharp": "^0.25.2",
"sitemap": "^6.1.0",
"socket.io": "^2.2.0",
"srt-to-vtt": "^1.1.2",
@@ -184,7 +184,6 @@
"@types/pem": "^1.9.3",
"@types/redis": "^2.8.5",
"@types/request": "^2.0.3",
"@types/sharp": "^0.24.0",
"@types/socket.io": "^2.1.2",
"@types/supertest": "^2.0.3",
"@types/validator": "^12.0.1",