{ "name": "hackeamos-org/wp-project", "type": "project", "require": { "php": ">=8.1" }, "scripts": { "post-install-cmd": [ "./scripts/composer-loop.sh ./webroot/wp-content/themes install", "./scripts/composer-loop.sh ./webroot/wp-content/plugins install" ], "post-update-cmd": [ "./scripts/composer-loop.sh ./webroot/wp-content/themes update", "./scripts/composer-loop.sh ./webroot/wp-content/plugins update" ] }, "repositories": [ { "type": "composer", "url": "https://wpackagist.org" }, { "type": "composer", "url": "https://git.hackeamos.org/api/packages/Hackeamos.Org/composer" } ], "extra": { "wordpress-install-dir": "webroot", "installer-paths": { "webroot/plugins/{$name}/": [ "type:wordpress-plugin", "type:wpackagist-plugin" ], "webroot/themes/{$name}/": [ "type:wordpress-theme", "type:wpackagist-theme" ] } }, "config": { "allow-plugins": { "composer/installers": true } } }