summaryrefslogtreecommitdiff
path: root/composer.json
blob: 0825fa80cf8bf87d37f1a946bcb7f932609000ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
    }
}