-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
100 lines (100 loc) · 3.11 KB
/
composer.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "mstrelan/drupal-contrib",
"description": "Composer project for Drupal contrib",
"type": "project",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "path",
"url": "app"
},
{
"type": "path",
"url": "app/core"
},
{
"type": "path",
"url": "app/composer/Metapackage/CoreRecommended"
},
{
"type": "path",
"url": "app/composer/Metapackage/DevDependencies"
},
{
"type": "path",
"url": "app/composer/Plugin/ProjectMessage"
},
{
"type": "path",
"url": "app/composer/Plugin/Scaffold"
},
{
"type": "path",
"url": "app/composer/Plugin/VendorHardening"
},
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"composer/installers": "*",
"drupal/core": "*",
"drupal/core-composer-scaffold": "*",
"drupal/drupal": "*",
"drush/drush": "^11 || ^12 || ^13"
},
"require-dev": {
"drupal/core-dev": "*",
"mstrelan/teamcity-html": "*",
"phpspec/prophecy-phpunit": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"bin-dir": "bin/",
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"drupal/core-vendor-hardening": true,
"phpstan/extension-installer": true,
"php-http/discovery": true
}
},
"scripts": {
"post-root-package-install": [
"mstrelan\\DrupalContrib\\ComposerScripts::configureEnvironment",
"mstrelan\\DrupalContrib\\ComposerScripts::gitCloneDrupalCore",
"mstrelan\\DrupalContrib\\ComposerScripts::configurePhpStorm"
]
},
"autoload": {
"psr-4": {
"mstrelan\\DrupalContrib\\": "src/"
}
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "app/"
},
"file-mapping": {
"[web-root]/vendor/autoload.php": "assets/scaffold/files/autoload.php",
"[web-root]/sites/default/settings.php": "assets/scaffold/files/settings.php",
"[web-root]/.git/info/exclude": "assets/scaffold/files/exclude"
}
},
"installer-paths": {
"app/core": ["type:drupal-core"],
"app/libraries/{$name}": ["type:drupal-library"],
"app/modules/contrib/{$name}": ["type:drupal-module"],
"app/profiles/contrib/{$name}": ["type:drupal-profile"],
"app/themes/contrib/{$name}": ["type:drupal-theme"],
"app/modules/custom/{$name}": ["type:drupal-custom-module"],
"app/themes/custom/{$name}": ["type:drupal-custom-theme"]
}
}
}