-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
composer.json
119 lines (119 loc) · 4 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
{
"name": "myorg/mysite",
"description": "Drupal 10 site for MYSITE",
"license": "proprietary",
"require": {
"php": ">=8.2",
"composer/installers": "^2.1",
"cweagans/composer-patches": "^1.7",
"drupal/core-composer-scaffold": "~10.3.0",
"drupal/core-project-message": "~10.3.0",
"drupal/core-recommended": "~10.3.0",
"drupal/draggableviews": "^2.1",
"drupal/eck": "^2.0",
"drupal/paragraphs": "^1.15",
"drupal/pathauto": "^1.11",
"drupal/scheduled_transitions": "^2.3",
"drupal/search_api": "^1.26",
"drush/drush": "^12",
"drupal/testmode": "^2",
"drupal/webform": "^6.2",
"oomphinc/composer-installers-extender": "^2.0",
"vlucas/phpdotenv": "^5.4",
"webflo/drupal-finder": "^1.3",
"webmozart/path-util": "^2.3"
},
"require-dev": {
"drupal/core-dev": "~10.3.0"
},
"config": {
"process-timeout": 0,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/console-extend-plugin": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"oomphinc/composer-installers-extender": true,
"phpstan/extension-installer": true,
"php-http/discovery": true
}
},
"autoload": {
"classmap": [
"scripts/composer/"
]
},
"conflict": {
"drupal/core": "7.*"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"extra": {
"enable-patching": true,
"drupal-scaffold": {
"locations": {
"web-root": "./web"
},
"file-mapping": {
"[project-root]/.gitattributes": false,
"[web-root]/.htaccess": false,
"[web-root]/.ht.router.php": false,
"[web-root]/example.gitignore": false,
"[web-root]/INSTALL.txt": false,
"[web-root]/README.txt": false,
"[web-root]/sites/example.settings.local.php": false,
"[web-root]/sites/example.sites.php": false,
"[web-root]/web.config": false
}
},
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
],
"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"
]
},
"installer-types": [
"bower-asset",
"npm-asset"
]
},
"scripts": {
"post-install-cmd": [
"DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"drupal-post-install": [
"drush -r web config-set system.site uuid 5b4646a8-ed7b-453c-b5b6-78196271f41b -y --uri=http://nginx",
"drush -r web ev \"\\Drupal::entityTypeManager()->getStorage('shortcut_set')->load('default')->delete();\" --uri=http://nginx || true",
"drush -r web updb -y --uri=http://nginx",
"drush -r web cim --source=../config/sync -y --uri=http://nginx",
"drush -r web cr -y --uri=http://nginx",
"drush -r web pm:enable mysite_core -y --uri=http://nginx"
]
}
}