-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·138 lines (138 loc) · 5.05 KB
/
composer.json
File metadata and controls
executable file
·138 lines (138 loc) · 5.05 KB
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
{
"name": "pantheon-systems/example-drops-8-composer",
"description": "Install drops-8 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"php": ">=7.0.8",
"composer/installers": "^1.0.20",
"cweagans/composer-patches": "^1.0",
"drupal-composer/drupal-scaffold": "^2.0.1",
"drupal/config_direct_save": "^1.0",
"drupal/config_installer": "^1.0",
"drupal/console": "^1",
"drupal/core": "^8",
"drupal/simple_block": "^1.0@beta",
"drush/drush": "~8",
"rvtraveller/qs-composer-installer": "^1.1",
"drush-ops/behat-drush-endpoint": "^8",
"pantheon-systems/quicksilver-pushback": "~1",
"webflo/drupal-core-strict": "^8",
"zaporylie/composer-drupal-optimizations": "^1.0",
"drupal/easy_breadcrumb": "^1.8",
"drupal/elastic_email": "^2.1",
"drupal/embed": "^1.0",
"drupal/entity_embed": "^1.0@beta",
"drupal/features": "^3.7",
"drupal/field_permissions": "^1.0@RC",
"drupal/google_analytics": "^2.2",
"drupal/honeypot": "^1.27",
"drupal/linkit": "^4.3",
"drupal/metatag": "^1.3",
"drupal/paragraphs": "^1.3",
"drupal/pathauto": "^1.2",
"drupal/recaptcha": "^2.3",
"drupal/redirect": "^1.3",
"drupal/quicklink": "^1.0",
"drupal/seo_checklist": "^4.1",
"drupal/simple_sitemap": "^2.12",
"drupal/subpathauto": "^1.0@beta",
"drupal/token": "^1.3",
"drupal/ui_patterns": "^1.0",
"drupal/webform": "^5.0@RC",
"drupal/webform_views": "^5.0@alpha",
"drupal/zurb_foundation": "^6.0"
},
"require-dev": {
"mikey179/vfsstream": "^1.2",
"behat/behat": "3.*",
"behat/mink": "^1.7",
"behat/mink-extension": "^2.2",
"behat/mink-goutte-driver": "^1.2",
"jcalderonzumba/gastonjs": "^1.0.2",
"jcalderonzumba/mink-phantomjs-driver": "^0.3.1",
"drupal/drupal-extension": "^3.1",
"phpunit/phpunit": "^4.8",
"symfony/css-selector": "^2.8"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
]
},
"scripts": {
"build-assets": [
"@prepare-for-pantheon",
"composer install --optimize-autoloader --no-dev"
],
"lint": "find web/modules/custom web/themes/custom -name '*.php' -exec php -l {} \\;",
"code-sniff": "echo 'No code sniff step defined.'",
"unit-test": "echo 'No unit test step defined.'",
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon",
"post-install-cmd": [
"@drupal-scaffold",
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles",
"find .circleci/scripts/pantheon/ -type f | xargs chmod 755",
"find tests/scripts/ -type f | xargs chmod 755"
],
"post-create-project-cmd": [
"@drupal-scaffold",
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
]
},
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"drush/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",
"drush pm-enable config_direct_save simple_block --yes",
"drush pm-uninstall block_content --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",
".htaccess",
"web.config"
]
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "7.0.8"
}
}
}