-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
101 lines (101 loc) · 3.45 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
{
"name": "shiyan/drupal-pantheon-lando-template",
"description": "Simple composer project template for a Drupal 8 + Pantheon + Lando.",
"keywords": ["drupal8", "pantheon", "lando", "template"],
"license": "MIT",
"type": "project",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"php": "^7.1",
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6.5",
"drupal-composer/drupal-scaffold": "^2.5",
"drupal/console": "^1.0.2",
"drupal/core": "^8.6.0",
"drush/drush": "^9.5.0",
"webflo/drupal-core-strict": "^8"
},
"require-dev": {
"drupal/coder": "^8.2.12",
"overtrue/phplint": "^0.2.4",
"phpunit/phpunit": "^4.8.35 || ^6.5"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
]
},
"scripts": {
"build-assets": [
"composer install --optimize-autoloader --no-dev",
"@prepare-for-pantheon"
],
"prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon",
"post-install-cmd": [
"@composer drupal:scaffold",
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-create-project-cmd": [
"@composer config --unset name",
"@composer config --unset description",
"@composer config --unset keywords",
"@composer config --unset license",
"@composer update --lock",
"rm README.md",
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
]
},
"extra": {
"patchLevel": {
"drupal/core": "-p2"
},
"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"]
},
"build-env": {
"install-cms": [
"drush site-install standard --account-mail={account-mail} --account-name={account-name} --account-pass={account-pass} --site-mail={site-mail} --site-name={site-name} --yes"
],
"export-configuration": "drush config-export --yes"
},
"drupal-scaffold": {
"source": "https://raw.githubusercontent.com/pantheon-systems/drops-8-scaffolding/{version}/{path}",
"includes": [
"sites/default/default.services.pantheon.preproduction.yml",
"sites/default/settings.pantheon.php"
],
"excludes": [
".csslintrc",
".editorconfig",
".eslintignore",
".eslintrc.json",
".gitattributes",
".htaccess",
"web.config"
],
"initial": {
".editorconfig": "../.editorconfig",
".gitattributes": "../.gitattributes"
}
}
}
}