-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
198 lines (198 loc) · 7.97 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"name": "asuwebplatforms/webspark-ci",
"description": "Install Drupal 9 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
},
{
"type": "package",
"package": {
"name": "fontawesome/fontawesome",
"version": "6.4.2",
"type": "drupal-library",
"extra": {
"installer-name": "fontawesome"
},
"dist": {
"url": "https://use.fontawesome.com/releases/v6.4.2/fontawesome-free-6.4.2-web.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "northernco/ckeditor5-anchor-drupal",
"version": "0.4.0",
"type": "drupal-library",
"dist": {
"url": "https://registry.npmjs.org/@northernco/ckeditor5-anchor-drupal/-/ckeditor5-anchor-drupal-0.4.0.tgz",
"type": "tar"
}
}
},
{
"type": "path",
"url": "upstream-configuration"
},
{
"type": "path",
"url": "custom-dependencies"
}
],
"require": {
"drupal/ckeditor_responsive_plugin": "dev-2.1.x#22b2e1b",
"pantheon-upstreams/upstream-configuration": "*",
"webspark/custom-dependencies": "*"
},
"require-dev": {
"behat/behat": "3.14.0",
"behat/mink-goutte-driver": "2.0",
"dmore/behat-chrome-extension": "1.4.0",
"drupal/core-dev": "10.2.10",
"drupal/drupal-driver": "2.2.2",
"drupal/drupal-extension": "5.0.0",
"genesis/behat-fail-aid": "3.7.5",
"nuvoleweb/drupal-behat": "1.3.0",
"palantirnet/drupal-rector": "0.18.6",
"sirbrillig/phpcs-changed": "v2.11.4"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"enable-patching": true,
"patches-file": "composer.patches.json",
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
},
"installer-types": [
"npm-asset",
"bower-asset"
],
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library",
"type:npm-asset",
"type:bower-asset"
],
"web/modules/composer/{$name}": [
"type:drupal-module"
],
"web/profiles/composer/{$name}": [
"type:drupal-profile"
],
"web/themes/composer/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
],
"web/private/scripts/quicksilver/{$name}/": [
"type:quicksilver-script"
],
"web/libraries/ckeditor/plugins/{$name}": [
"vendor:ckeditor-plugin"
]
},
"drupal-scaffold": {
"locations": {
"web-root": "./web"
},
"allowed-packages": [
"pantheon-systems/drupal-integrations"
],
"file-mapping": {
"[project-root]/.editorconfig": false,
"[project-root]/pantheon.upstream.yml": false,
"[project-root]/.gitattributes": false,
"[web-root]/robots.txt": false
}
},
"build-env": {
"export-configuration": "drush config-export --yes"
}
},
"autoload": {
"classmap": [
"upstream-configuration/scripts/ComposerScripts.php",
"custom-dependencies/scripts/CustomComposerScripts.php"
]
},
"scripts": {
"pre-command-run": [
"WebsparkCustomScripts\\CustomComposerScripts::checkCommand",
"DrupalComposerManaged\\ComposerScripts::writeComposerPatchFile"
],
"unit-test": "echo 'No unit test step defined.'",
"lint": "find web/modules/custom web/themes/custom -name '*.php' -exec php -l {} \\;",
"code-sniff": [
"./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/modules/custom",
"./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/themes/custom",
"./vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/modules/custom",
"./vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/themes/custom"
],
"lint-webspark": "find web/profiles/webspark web/modules/webspark web/themes/webspark -name '*.php' -exec php -l {} \\;",
"code-sniff-webspark": [
"./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/profiles/webspark",
"./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/modules/webspark",
"./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/themes/webspark",
"./vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/profiles/webspark",
"./vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/modules/webspark",
"./vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor ./web/themes/webspark"
],
"pre-update-cmd": [
"DrupalComposerManaged\\ComposerScripts::preUpdate"
],
"post-update-cmd": [
"DrupalComposerManaged\\ComposerScripts::postUpdate"
],
"custom-require": [
"WebsparkCustomScripts\\CustomComposerScripts::customRequire"
],
"custom-remove": [
"WebsparkCustomScripts\\CustomComposerScripts::customRemove"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "8.1.6"
},
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"oomphinc/composer-installers-extender": true,
"phpstan/extension-installer": true,
"zaporylie/composer-drupal-optimizations": true,
"php-http/discovery": true,
"tbachert/spi": false
}
}
}