Fix npm prepare.

This commit is contained in:
John Livingston 2021-11-24 17:29:25 +01:00
parent 7b6a3683ec
commit a20da5b51e
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -81,7 +81,7 @@
"scripts": { "scripts": {
"clean": "rm -rf dist/* build/*", "clean": "rm -rf dist/* build/*",
"clean:light": "rm -rf dist/*", "clean:light": "rm -rf dist/*",
"prepare": "npm run build", "prepare": "npm run clean && npm run build",
"build:converse": "bash conversejs/build-conversejs.sh", "build:converse": "bash conversejs/build-conversejs.sh",
"build:images": "mkdir -p dist/client/images && npx svgo -f public/images/ -o dist/client/images/", "build:images": "mkdir -p dist/client/images && npx svgo -f public/images/ -o dist/client/images/",
"build:webpack": "webpack --mode=production", "build:webpack": "webpack --mode=production",