From 87544b9bb9b7bb169fb5691808e438ab16a5b509 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 17 Jan 2021 16:24:55 +0100 Subject: Initial commit --- composer.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 composer.json (limited to 'composer.json') 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" + } +} -- cgit v1.2.3