composer.json 2.84 KB
Newer Older
1
2
{
    "name": "drupal/legacy-project",
3
    "description": "Project template for Drupal 9 projects with composer following drupal/drupal layout",
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",
19
20
21
22
        "drupal/core-composer-scaffold": "^9.2",
        "drupal/core-project-message": "^9.2",
        "drupal/core-recommended": "^9.2",
        "drupal/core-vendor-hardening": "^9.2"
23
24
    },
    "require-dev": {
25
        "drupal/core-dev": "^9.2"
26
27
28
29
    },
    "conflict": {
        "drupal/drupal": "*"
    },
catch's avatar
catch committed
30
    "minimum-stability": "stable",
31
32
33
34
35
    "prefer-stable": true,
    "config": {
        "sort-packages": true
    },
    "extra": {
36
        "drupal-scaffold": {
37
38
39
40
41
42
43
44
45
46
            "locations": {
                "web-root": "./"
            }
        },
        "installer-paths": {
            "core": ["type:drupal-core"],
            "libraries/{$name}": ["type:drupal-library"],
            "modules/contrib/{$name}": ["type:drupal-module"],
            "profiles/contrib/{$name}": ["type:drupal-profile"],
            "themes/contrib/{$name}": ["type:drupal-theme"],
47
48
            "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
            "modules/custom/{$name}": ["type:drupal-custom-module"],
49
            "profiles/custom/{$name}": ["type:drupal-custom-profile"],
50
            "themes/custom/{$name}": ["type:drupal-custom-theme"]
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
        },
        "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/legacy-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"
            ]
70
71
72
        }
    }
}