Avatars 120x120.

This commit is contained in:
John Livingston 2022-01-06 06:07:25 +01:00
parent f966a69249
commit 2cf9b4ecde
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -85,7 +85,7 @@
"prepare": "npm run clean && npm run build",
"build:converse": "bash conversejs/build-conversejs.sh",
"build:images": "mkdir -p dist/client/images && npx svgo -f public/images/ -o dist/client/images/",
"build:avatars": "mkdir -p dist/server/avatars && ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/**/*.svg -o ./dist/server/avatars/ -f png resize 40 40",
"build:avatars": "mkdir -p dist/server/avatars && ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/**/*.svg -o ./dist/server/avatars/ -f png resize 120 120",
"build:webpack": "webpack --mode=production",
"build:server": "npx tsc --build server/tsconfig.json",
"build:serverconverse": "mkdir -p dist/server/conversejs && cp conversejs/index.html dist/server/conversejs/",