|
1 | 1 | {
|
2 |
| - "name": "pantheon-systems/example-drops-8-composer", |
3 |
| - "description": "Install drops-8 with Composer on Pantheon.", |
4 |
| - "type": "project", |
5 |
| - "license": "MIT", |
6 |
| - "repositories": [ |
7 |
| - { |
8 |
| - "type": "composer", |
9 |
| - "url": "https://packages.drupal.org/8" |
10 |
| - } |
11 |
| - ], |
12 |
| - "require": { |
13 |
| - "composer/installers": "^1.0.20", |
14 |
| - "cweagans/composer-patches": "^1.0", |
15 |
| - "drupal-composer/drupal-scaffold": "^2.0.1", |
16 |
| - "drupal/config_direct_save": "^1.0", |
17 |
| - "drupal/config_installer": "^1.0", |
18 |
| - "drupal/console": "^1", |
19 |
| - "drupal/core": "^8", |
20 |
| - "drupal/recaptcha": "^2.2", |
21 |
| - "drupal/simple_block": "^1.0@beta", |
22 |
| - "drupal/webform": "^5.0@beta", |
23 |
| - "drush/drush": "~8", |
24 |
| - "rvtraveller/qs-composer-installer": "^1.1", |
25 |
| - "webflo/drupal-core-strict": "^8" |
26 |
| - }, |
27 |
| - "require-dev": { |
28 |
| - "mikey179/vfsstream": "^1.2", |
29 |
| - "behat/behat": "3.*", |
30 |
| - "behat/mink": "^1.7", |
31 |
| - "behat/mink-extension": "^2.2", |
32 |
| - "behat/mink-goutte-driver": "^1.2", |
33 |
| - "jcalderonzumba/gastonjs": "^1.0.2", |
34 |
| - "jcalderonzumba/mink-phantomjs-driver": "^0.3.1", |
35 |
| - "drupal/drupal-extension": "^3.1", |
36 |
| - "drush-ops/behat-drush-endpoint": "^0.0.4", |
37 |
| - "pantheon-systems/quicksilver-pushback": "~1", |
38 |
| - "phpunit/phpunit": "^4.8", |
39 |
| - "symfony/css-selector": "^2.8" |
40 |
| - }, |
41 |
| - "conflict": { |
42 |
| - "drupal/drupal": "*" |
43 |
| - }, |
44 |
| - "minimum-stability": "alpha", |
45 |
| - "prefer-stable": true, |
46 |
| - "autoload": { |
47 |
| - "classmap": [ |
48 |
| - "scripts/composer/ScriptHandler.php" |
49 |
| - ] |
50 |
| - }, |
51 |
| - "scripts": { |
52 |
| - "build-assets": [ |
53 |
| - "@prepare-for-pantheon", |
54 |
| - "composer install --optimize-autoloader" |
55 |
| - ], |
56 |
| - "lint": "find web/modules/custom web/themes/custom -name '*.php' -exec php -l {} \\;", |
57 |
| - "code-sniff": "echo 'No code sniff step defined.'", |
58 |
| - "unit-test": "echo 'No unit test step defined.'", |
59 |
| - "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", |
60 |
| - "prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon", |
61 |
| - "post-install-cmd": [ |
62 |
| - "@drupal-scaffold", |
63 |
| - "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
| 2 | + "name": "pantheon-systems/example-drops-8-composer", |
| 3 | + "description": "Install drops-8 with Composer on Pantheon.", |
| 4 | + "type": "project", |
| 5 | + "license": "MIT", |
| 6 | + "repositories": [ |
| 7 | + { |
| 8 | + "type": "composer", |
| 9 | + "url": "https://packages.drupal.org/8" |
| 10 | + } |
64 | 11 | ],
|
65 |
| - "post-update-cmd": [ |
66 |
| - "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
67 |
| - ], |
68 |
| - "post-create-project-cmd": [ |
69 |
| - "@drupal-scaffold", |
70 |
| - "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
71 |
| - ] |
72 |
| - }, |
73 |
| - "extra": { |
74 |
| - "installer-paths": { |
75 |
| - "web/core": ["type:drupal-core"], |
76 |
| - "web/modules/contrib/{$name}": ["type:drupal-module"], |
77 |
| - "web/profiles/contrib/{$name}": ["type:drupal-profile"], |
78 |
| - "web/themes/contrib/{$name}": ["type:drupal-theme"], |
79 |
| - "drush/contrib/{$name}": ["type:drupal-drush"] |
| 12 | + "require": { |
| 13 | + "php": ">=7.0.8", |
| 14 | + "composer/installers": "^1.0.20", |
| 15 | + "cweagans/composer-patches": "^1.0", |
| 16 | + "drupal-composer/drupal-scaffold": "^2.0.1", |
| 17 | + "drupal/admin_toolbar": "^1.23", |
| 18 | + "drupal/config_direct_save": "^1.0", |
| 19 | + "drupal/config_installer": "^1.0", |
| 20 | + "drupal/console": "^1", |
| 21 | + "drupal/core": "^8", |
| 22 | + "drupal/elastic_email": "^2.1", |
| 23 | + "drupal/features": "^3.7", |
| 24 | + "drupal/field_group": "3.0.0-beta1", |
| 25 | + "drupal/field_permissions": "^1.0@RC", |
| 26 | + "drupal/google_analytics": "^2.2", |
| 27 | + "drupal/honeypot": "^1.27", |
| 28 | + "drupal/linkit": "^4.3", |
| 29 | + "drupal/metatag": "^1.3", |
| 30 | + "drupal/paragraphs": "^1.3", |
| 31 | + "drupal/pathauto": "^1.2", |
| 32 | + "drupal/recaptcha": "^2.3", |
| 33 | + "drupal/simple_block": "^1.0@beta", |
| 34 | + "drupal/simple_sitemap": "^2.12", |
| 35 | + "drupal/smart_login": "^1.0@beta", |
| 36 | + "drupal/subpathauto": "^1.0@beta", |
| 37 | + "drupal/super_login": "^1.2", |
| 38 | + "drupal/token": "^1.3", |
| 39 | + "drupal/ui_patterns": "^1.0", |
| 40 | + "drupal/video_embed_field": "^1.5", |
| 41 | + "drupal/views_send": "^1.1", |
| 42 | + "drupal/webform": "^5.0@RC", |
| 43 | + "drupal/webform_views": "^5.0@alpha", |
| 44 | + "drupal/zurb_foundation": "^6.0", |
| 45 | + "drush-ops/behat-drush-endpoint": "^0.0.5", |
| 46 | + "drush/drush": "~8", |
| 47 | + "pantheon-systems/quicksilver-pushback": "~1", |
| 48 | + "rvtraveller/qs-composer-installer": "^1.1", |
| 49 | + "webflo/drupal-core-strict": "^8" |
80 | 50 | },
|
81 |
| - "build-env": { |
82 |
| - "install-cms": [ |
83 |
| - "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", |
84 |
| - "drush pm-enable config_direct_save simple_block --yes", |
85 |
| - "drush pm-uninstall block_content --yes" |
86 |
| - ], |
87 |
| - "export-configuration": "drush config-export --yes" |
| 51 | + "require-dev": { |
| 52 | + "mikey179/vfsstream": "^1.2", |
| 53 | + "behat/behat": "3.*", |
| 54 | + "behat/mink": "^1.7", |
| 55 | + "behat/mink-extension": "^2.2", |
| 56 | + "behat/mink-goutte-driver": "^1.2", |
| 57 | + "jcalderonzumba/gastonjs": "^1.0.2", |
| 58 | + "jcalderonzumba/mink-phantomjs-driver": "^0.3.1", |
| 59 | + "drupal/drupal-extension": "^3.1", |
| 60 | + "phpunit/phpunit": "^4.8", |
| 61 | + "symfony/css-selector": "^2.8" |
88 | 62 | },
|
89 |
| - "drupal-scaffold": { |
90 |
| - "source": "https://raw.githubusercontent.com/pantheon-systems/drops-8/{version}/{path}", |
91 |
| - "includes": [ |
92 |
| - "sites/default/default.services.pantheon.preproduction.yml", |
93 |
| - "sites/default/settings.pantheon.php" |
94 |
| - ], |
95 |
| - "excludes": [ |
96 |
| - ".csslintrc", |
97 |
| - ".editorconfig", |
98 |
| - ".eslintignore", |
99 |
| - ".eslintrc.json", |
100 |
| - ".htaccess", |
101 |
| - "web.config" |
102 |
| - ] |
103 |
| - } |
104 |
| - }, |
105 |
| - "config": { |
106 |
| - "optimize-autoloader": true, |
107 |
| - "preferred-install": "dist", |
108 |
| - "sort-packages": true, |
109 |
| - "platform": { |
110 |
| - "php": "7.0" |
| 63 | + "conflict": { |
| 64 | + "drupal/drupal": "*" |
| 65 | + }, |
| 66 | + "minimum-stability": "dev", |
| 67 | + "prefer-stable": true, |
| 68 | + "autoload": { |
| 69 | + "classmap": [ |
| 70 | + "scripts/composer/ScriptHandler.php" |
| 71 | + ] |
| 72 | + }, |
| 73 | + "scripts": { |
| 74 | + "build-assets": [ |
| 75 | + "@prepare-for-pantheon", |
| 76 | + "composer install --optimize-autoloader --no-dev" |
| 77 | + ], |
| 78 | + "lint": "find web/modules/custom web/themes/custom -name '*.php' -exec php -l {} \\;", |
| 79 | + "code-sniff": "echo 'No code sniff step defined.'", |
| 80 | + "unit-test": "echo 'No unit test step defined.'", |
| 81 | + "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", |
| 82 | + "prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon", |
| 83 | + "post-install-cmd": [ |
| 84 | + "@drupal-scaffold", |
| 85 | + "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
| 86 | + ], |
| 87 | + "post-update-cmd": [ |
| 88 | + "DrupalProject\\composer\\ScriptHandler::createRequiredFiles", |
| 89 | + "find .circleci/scripts/pantheon/ -type f | xargs chmod 755", |
| 90 | + "find tests/scripts/ -type f | xargs chmod 755" |
| 91 | + ], |
| 92 | + "post-create-project-cmd": [ |
| 93 | + "@drupal-scaffold", |
| 94 | + "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
| 95 | + ] |
| 96 | + }, |
| 97 | + "extra": { |
| 98 | + "installer-paths": { |
| 99 | + "web/core": ["type:drupal-core"], |
| 100 | + "web/modules/contrib/{$name}": ["type:drupal-module"], |
| 101 | + "web/profiles/contrib/{$name}": ["type:drupal-profile"], |
| 102 | + "web/themes/contrib/{$name}": ["type:drupal-theme"], |
| 103 | + "drush/contrib/{$name}": ["type:drupal-drush"] |
| 104 | + }, |
| 105 | + "build-env": { |
| 106 | + "install-cms": [ |
| 107 | + "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", |
| 108 | + "drush pm-enable config_direct_save simple_block --yes", |
| 109 | + "drush pm-uninstall block_content --yes" |
| 110 | + ], |
| 111 | + "export-configuration": "drush config-export --yes" |
| 112 | + }, |
| 113 | + "drupal-scaffold": { |
| 114 | + "source": "https://raw.githubusercontent.com/pantheon-systems/drops-8-scaffolding/{version}/{path}", |
| 115 | + "includes": [ |
| 116 | + "sites/default/default.services.pantheon.preproduction.yml", |
| 117 | + "sites/default/settings.pantheon.php" |
| 118 | + ], |
| 119 | + "excludes": [ |
| 120 | + ".csslintrc", |
| 121 | + ".editorconfig", |
| 122 | + ".eslintignore", |
| 123 | + ".eslintrc.json", |
| 124 | + ".htaccess", |
| 125 | + "web.config" |
| 126 | + ] |
| 127 | + } |
| 128 | + }, |
| 129 | + "config": { |
| 130 | + "optimize-autoloader": true, |
| 131 | + "preferred-install": "dist", |
| 132 | + "sort-packages": true, |
| 133 | + "platform": { |
| 134 | + "php": "7.0.8" |
| 135 | + } |
111 | 136 | }
|
112 |
| - } |
113 | 137 | }
|
0 commit comments