composer.json 1.4 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
{
    "name": "drupal/legacy-project",
    "description": "Project template for Drupal 8 projects with composer following drupal/drupal layout",
    "type": "project",
    "license": "GPL-2.0-or-later",
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],
    "require": {
        "composer/installers": "^1.2",
14
        "drupal/core-recommended": "^8.8",
15
        "drupal/core-composer-scaffold": "^8.8",
16
17
18
        "drupal/core-vendor-hardening": "^8.8"
    },
    "require-dev": {
19
        "drupal/core-dev": "^8.8"
20
21
22
23
24
25
26
27
28
29
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "sort-packages": true
    },
    "extra": {
30
        "drupal-scaffold": {
31
32
33
34
35
36
37
38
39
40
            "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"],
41
42
43
            "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
            "modules/custom/{$name}": ["type:drupal-custom-module"],
            "themes/custom/{$name}": ["type:drupal-custom-theme"]
44
45
46
        }
    }
}