-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
94 lines (94 loc) · 2.9 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
{
"name": "docker/drupal7",
"description": "Project template for Drupal 7 projects with composer",
"type": "project",
"license": "GPL-2.0-or-later",
"authors": [{
"name": "",
"role": ""
}],
"repositories": [{
"type": "composer",
"url": "https://packages.drupal.org/7"
}],
"require": {
"php": ">=5.2.5",
"ext-curl": "*",
"ext-gd": "*",
"ext-json": "*",
"ext-openssl": "*",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-xml": "*",
"composer/installers": "^1.2",
"composer/semver": "^1.4",
"cweagans/composer-patches": "^1.6",
"drupal-composer/preserve-paths": "^0.1",
"drupal/composer_autoloader": "^1.0",
"drupal/drupal": "~7.0",
"drush/drush": "~8.0",
"symfony/filesystem": "~2.7|^3",
"webflo/drupal-finder": "^1.0.0"
},
"require-dev": {
},
"conflict": {
"drupal/core": "8.*"
},
"config": {
"vendor-dir": "vendor"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"autoload": {
"classmap": [
"drupal/scripts/composer/ScriptHandler.php"
]
},
"scripts": {
"pre-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"pre-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-create-project-cmd": [
"DrupalProject\\composer\\ScriptHandler::removeInternalFiles"
]
},
"extra": {
"installer-paths": {
"docroot/": ["type:drupal-core"],
"docroot/profiles/{$name}": ["type:drupal-profile"],
"docroot/sites/all/drush/{$name}": ["type:drupal-drush"],
"docroot/sites/all/libraries/{$name}": ["type:drupal-library"],
"docroot/sites/all/modules/contrib/{$name}": ["type:drupal-module"],
"docroot/sites/all/themes/contrib/{$name}": ["type:drupal-theme"]
},
"patches": {
"cweagans/composer-patches": {
"Call the preserve paths hooks" : "https://github.com/SebCorbin/composer-patches/commit/1cb9bacba51f8bba0c5f3f322c3bb61e4ceae974.patch"
}
},
"preserve-paths": [
"docroot/sites/all/drush",
"docroot/sites/all/libraries",
"docroot/sites/all/modules/contrib",
"docroot/sites/all/modules/custom",
"docroot/sites/all/modules/features",
"docroot/sites/all/themes/contrib",
"docroot/sites/all/themes/custom",
"web/sites/all/translations",
"docroot/sites/default"
]
}
}