diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..0825fa8 --- /dev/null +++ b/composer.json @@ -0,0 +1,30 @@ +{ + "name": "dweipert/wp-boilerplate", + "type": "project", + "license": "GPL-2.0-or-later", + "version": "1.0.0", + "authors": [ + { + "name": "Daniel Weipert", + "email": "code@drogueronin.de" + } + ], + "require": { + "php": ">=7.4", + "johnpbloch/wordpress": "*", + "roots/wp-password-bcrypt": "^1.0", + "wp-cli/wp-cli-bundle": "*" + }, + "scripts": { + "post-create-project-cmd": [ + "@php -r \"file_exists('wp-config.php') || copy('wp-config.example.php', 'wp-config.php');\"", + "wp config shuffle-salts" + ], + "post-install-cmd": [ + "composer dump-autoload -o" + ] + }, + "extra": { + "wordpress-install-dir": "public" + } +} |