Permalink
Fetching contributors…
Cannot retrieve contributors at this time
115 lines (114 sloc) 4.14 KB
{
"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": "^0.0.5",
"pantheon-systems/quicksilver-pushback": "~1",
"webflo/drupal-core-strict": "^8"
},
"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": "alpha",
"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"
}
}
}