summaryrefslogtreecommitdiff
path: root/composer.json
blob: cca75b082f8030d9b658c6cab92f1f520132a8b3 (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
31
{
    "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');\"",
            "@php -r \"copy('public/wp/wp-content', 'public/wp-content')\"",
            "wp config shuffle-salts"
        ],
        "post-install-cmd": [
            "composer dump-autoload -o"
        ]
    },
    "extra": {
        "wordpress-install-dir": "public/wp"
    }
}