From 38ba189bfe7c487f470b80dec3a3381362b3e21c Mon Sep 17 00:00:00 2001 From: Guilherme Godoy Date: Sat, 20 Dec 2025 14:32:38 +0000 Subject: [PATCH] Update postinstall script in package.json to include copying altcha.js script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ab7944caff..37ee900365 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "format": "prettier --write ./js/load.js ./lib/pkp/js/load.js ./lib/pkp/js/usage-stats-chart.js ./lib/pkp/js/classes/VueRegistry.js", "php-fix": "php lib/pkp/lib/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --allow-risky=yes", "prepare": "husky install", - "postinstall": "copyfiles -f node_modules/swiper/swiper-bundle*.{js,css} plugins/themes/default/js/lib/swiper" + "postinstall": "copyfiles -f node_modules/swiper/swiper-bundle*.{js,css} plugins/themes/default/js/lib/swiper && copyfiles -f node_modules/altcha/dist/altcha.js lib/pkp/js/lib/altcha" }, "dependencies": { "@headlessui/vue": "^1.7.23",