forked from finnef/lando-drupal8-test-debugging
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
129 lines (129 loc) · 3.75 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "drupal/recommended-project",
"description": "Project template for Drupal 8 projects with a relocated document root",
"type": "project",
"license": "GPL-2.0-or-later",
"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"
},
"require": {
"drupal/core-composer-scaffold": "^8.9",
"drupal/core-recommended": "^8.9"
},
"require-dev": {
"drupal/core-dev": "^8.9",
"composer/installers": "^1.9",
"cweagans/composer-patches": "^1.6.5",
"davidrjonas/composer-lock-diff": "^1.5",
"szeidler/composer-patches-cli": "^1.0",
"oomphinc/composer-installers-extender": "^2.0",
"joachim-n/composer-manifest": "^1.1",
"drush/drush": "^10.0",
"phpunit/phpunit": "^6.0",
"joomla-projects/selenium-server-standalone": "^3"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.3.24"
}
},
"scripts": {
"pre-update-cmd": [
"echo \"Exporting Drupal configuration before composer update\"",
"command -v drush cex -y >/dev/null 2>&1 || { echo \"drush command required but currently not available. Skipping.\" >&2; exit 0; }",
"echo \"Executing git commit -a before composer update (if any files were changed)\"",
"git add .",
"git diff-index --quiet HEAD || git commit --verbose -am \"Automatic commit before composer update\""
],
"post-update-cmd": [
"echo \"Composer package changes (composer-lock-diff):\"",
"composer-lock-diff",
"touch log/composer-update-history.md",
"echo \"# `date` (`whoami`):\" >> log/composer-update-history.md",
"composer-lock-diff --md >> log/composer-update-history.md",
"echo \"Executing git commit -a after composer update (if any files were changed)\"",
"git add .",
"git diff-index --quiet HEAD || git commit --verbose -am \"Automatic commit after composer update\""
]
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
},
"file-mapping": {
".gitignore": {
"mode": "replace",
"path": "assets/scaffold/.gitignore",
"overwrite": false
},
"[web-root]/robots.txt": {
"append": "assets/scaffold/web/robots.txt.append.txt"
},
"[web-root]/.htaccess": {
"append": "assets/scaffold/web/.htaccess.append.txt"
}
}
},
"composer-exit-on-patch-failure": true,
"enable-patching": true,
"patchLevel": {
"drupal/core": "-p2"
},
"patches": {},
"installer-types": [
"npm-asset",
"bower-asset"
],
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
],
"web/libraries/{$name}": [
"type:npm-asset",
"type:bower-asset",
"type:drupal-library"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/libraries/ckeditor/plugins/{$name}": [
"vendor:ckeditor-plugin"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}