-
Notifications
You must be signed in to change notification settings - Fork 33
/
composer.json
169 lines (169 loc) · 6.59 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
{
"name": "drupal/starshot-project",
"description": "Drupal with a bunch of useful stuff.",
"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"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"require": {
"ext-pdo_sqlite": "*",
"composer/installers": "^2.0",
"cweagans/composer-patches": "^2",
"drupal/address": "^2.0",
"drupal/antibot": "^2.0",
"drupal/coffee": "^1.4",
"drupal/core-composer-scaffold": "^10.3",
"drupal/core-project-message": "^10.3",
"drupal/core-recommended": "^10.3",
"drupal/diff": "^1.3",
"drupal/focal_point": "^2.0",
"drupal/geolocation": "^3.12",
"drupal/gin": "3.x-dev",
"drupal/gin_toolbar": "1.x-dev",
"drupal/honeypot": "^2.1",
"drupal/linkit": "6.1.x-dev",
"drupal/media_entity_download": "^2.2",
"drupal/media_file_delete": "^1.3",
"drupal/metatag": "^2.0",
"drupal/pathauto": "^1.12",
"drupal/project_browser": "2.0.x-dev",
"drupal/quick_node_clone": "^1.18",
"drupal/redirect": "^1.9",
"drupal/sam": "^1.2",
"drupal/scheduler": "^2.0.2",
"drupal/simple_sitemap": "^4.1",
"drupal/smart_date": "^4.0",
"drupal/type_tray": "^1.2",
"drupal/uli_custom_workflow": "^1.0",
"drupal/webform": "^6.2",
"drush/drush": "^12.5",
"oomphinc/composer-installers-extender": "^2"
},
"require-dev": {
"drupal/core-dev": "^10.3",
"drupal/default_content": "^2.0@alpha",
"weitzman/drupal-test-traits": "^2.2"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"cweagans/composer-patches": true,
"oomphinc/composer-installers-extender": true
},
"sort-packages": true,
"optimize-autoloader": true
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"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/recipes/{$name}": ["type:drupal-recipe"],
"web/themes/custom/{$name}": ["type:drupal-custom-theme"]
},
"installer-types": ["drupal-recipe"],
"drupal-core-project-message": {
"include-keys": ["homepage", "support"],
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, you’ve installed Starshot! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://www.drupal.org/support",
" * Get involved with the Drupal community:",
" https://www.drupal.org/getting-involved"
]
},
"patches": {
"drupal/core": {
"#3444246: Create a config action to set the status of the entity": "./patches/core/recipes-103.patch",
"Add config actions to make a bundle of an entity type translatable": "./patches/core/make-translatable-action.patch"
}
}
},
"scripts": {
"drupal:install": [
"Composer\\Config::disableProcessTimeout",
"cd web && php -d memory_limit=512M core/scripts/drupal install ../recipes/starshot",
"drush webform-libraries-download",
"drush state:set project_browser.allowed_recipes '[starshot_multilingual]' --input-format=yaml --yes"
],
"drupal:install-dev": [
"cd web/sites/default && chmod +w . && rm -rf settings.php files",
"@drupal:install",
"drush config:set --yes system.logging error_level verbose",
"drush pm:enable --yes default_content",
"drush user:password admin admin",
"drush user:password editor editor",
"drush user:unblock editor"
],
"drupal:rebuild": [
"sudo rm -rf vendor web composer.lock patches.lock.json | true",
"touch web/.gitkeep",
"@composer install",
"@drupal:install"
],
"drupal:run-server": [
"Composer\\Config::disableProcessTimeout",
"@php -d max_execution_time=0 web/core/scripts/drupal quick-start"
],
"drupal:run-tests": [
"./vendor/bin/phpunit"
],
"post-create-project-cmd": [
"@drupal:install",
"test -n \"$CI\" || composer drupal:run-server"
]
},
"scripts-descriptions": {
"drupal:install": "Installs Starshot.",
"drupal:install-dev": "Installs Starshot, with additional modules and configuration tweaks for development.",
"drupal:rebuild": "Rebuilds the codebase and reinstalls Starshot from scratch. Should only be used for internal development.",
"drupal:run-server": "Runs Starshot using the PHP webserver and opens it in the default browser.",
"drupal:run-tests": "Runs Starshot's automated test suite."
},
"scripts-aliases": {
"drupal:install": [
"si",
"sin"
],
"drupal:run-server": [
"rs",
"serve"
],
"drupal:run-tests": [
"test"
]
}
}