-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
139 lines (139 loc) · 5.16 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
{
"name": "pantheon-upstreams\/drupal-composer-managed",
"description": "Install Drupal 9 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "composer",
"url": "https:\/\/packages.drupal.org\/8"
},
{
"type": "path",
"url": "upstream-configuration"
}
],
"require": {
"pantheon-upstreams\/upstream-configuration": "dev-main",
"composer\/installers": "^1.9",
"drupal\/core-composer-scaffold": "^9.2",
"drupal\/core-recommended": "^9.2",
"pantheon-systems\/drupal-integrations": "^9",
"cweagans\/composer-patches": "^1.7",
"drush\/drush": "^11 || ^12",
"drush-ops/behat-drush-endpoint": "^9.4",
"pantheon-systems/quicksilver-pushback": "^2.1"
},
"require-dev": {
"drupal\/core-dev": "^9.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"squizlabs/php_codesniffer": "^3.7",
"phpunit/phpunit": "^9.5",
"behat/behat": "^3.11",
"behat/mink": "^1.10",
"behat/mink-extension": "^2.3",
"dmore/behat-chrome-extension": "^1.4",
"genesis/behat-fail-aid": "^3.7",
"jcalderonzumba/mink-phantomjs-driver": "^0.3.3",
"mikey179/vfsstream": "^1.6",
"drupal/coder": "^8.3",
"drupal/drupal-extension": "^4.2",
"drupal/drupal-driver": "^2.2"
},
"conflict": {
"drupal\/drupal": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"extra": {
"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
}
},
"installer-paths": {
"web\/core": [
"type:drupal-core"
],
"web\/libraries\/{$name}": [
"type:drupal-library"
],
"web\/modules\/contrib\/{$name}": [
"type:drupal-module"
],
"web\/profiles\/contrib\/{$name}": [
"type:drupal-profile"
],
"web\/themes\/contrib\/{$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"
]
},
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal\/core": "-p2"
},
"build-env": {
"export-configuration": "drush config-export --yes"
}
},
"autoload": {
"classmap": [
"upstream-configuration\/scripts\/ComposerScripts.php"
]
},
"scripts": {
"pre-update-cmd": [
"DrupalComposerManaged\\ComposerScripts::preUpdate"
],
"upstream-require": [
"DrupalComposerManaged\\ComposerScripts::upstreamRequire"
],
"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"
]
},
"scripts-descriptions": {
"upstream-require": "Add a dependency to an upstream. See https:\/\/pantheon.io\/docs\/create-custom-upstream for information on creating custom upstreams."
},
"config": {
"preferred-install": "dist",
"sort-packages": false,
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer\/installers": true,
"cweagans\/composer-patches": true,
"drupal\/core-composer-scaffold": true,
"dealerdirect\/phpcodesniffer-composer-installer": true
}
}
}