diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-01-17 16:24:55 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-01-17 16:24:55 +0100 |
commit | 87544b9bb9b7bb169fb5691808e438ab16a5b509 (patch) | |
tree | c333ea95832404bc8b7b0477c347fc20236bc4d8 /composer.json |
Initial commit
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" + } +} |