composer.json 2.81 KB
Newer Older
1
2
{
    "name": "drupal/recommended-project",
3
    "description": "Project template for Drupal 9 projects with a relocated document root",
4
5
    "type": "project",
    "license": "GPL-2.0-or-later",
6
7
8
9
10
    "homepage": "https://www.drupal.org/project/drupal",
    "support": {
        "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
        "chat": "https://www.drupal.org/node/314178"
    },
11
12
13
14
15
16
17
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],
    "require": {
18
        "composer/installers": "^1.9",
catch's avatar
catch committed
19
20
21
        "drupal/core-composer-scaffold": "^9.3",
        "drupal/core-project-message": "^9.3",
        "drupal/core-recommended": "^9.3"
22
23
    },
    "require-dev": {
catch's avatar
catch committed
24
        "drupal/core-dev": "^9.3"
25
26
27
28
    },
    "conflict": {
        "drupal/drupal": "*"
    },
catch's avatar
catch committed
29
    "minimum-stability": "beta",
30
31
32
33
34
    "prefer-stable": true,
    "config": {
        "sort-packages": true
    },
    "extra": {
35
        "drupal-scaffold": {
36
37
38
39
40
41
42
43
44
45
            "locations": {
                "web-root": "web/"
            }
        },
        "installer-paths": {
            "web/core": ["type:drupal-core"],
            "web/libraries/{$name}": ["type:drupal-library"],
            "web/modules/contrib/{$name}": ["type:drupal-module"],
            "web/profiles/contrib/{$name}": ["type:drupal-profile"],
            "web/themes/contrib/{$name}": ["type:drupal-theme"],
46
47
            "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
            "web/modules/custom/{$name}": ["type:drupal-custom-module"],
48
            "web/profiles/custom/{$name}": ["type:drupal-custom-profile"],
49
            "web/themes/custom/{$name}": ["type:drupal-custom-theme"]
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
        },
        "drupal-core-project-message": {
            "include-keys": ["homepage", "support"],
            "post-create-project-cmd-message": [
                "<bg=blue;fg=white>                                                         </>",
                "<bg=blue;fg=white>  Congratulations, you’ve installed the Drupal codebase  </>",
                "<bg=blue;fg=white>  from the drupal/recommended-project template!          </>",
                "<bg=blue;fg=white>                                                         </>",
                "",
                "<bg=yellow;fg=black>Next steps</>:",

                "  * Install the site: https://www.drupal.org/docs/8/install",
                "  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
                "  * Get support: https://www.drupal.org/support",
                "  * Get involved with the Drupal community:",
                "      https://www.drupal.org/getting-involved",
                "  * Remove the plugin that prints this message:",
                "      composer remove drupal/core-project-message"
            ]
69
70
71
        }
    }
}