2019-07-12 14:27:04 -04:00
|
|
|
{
|
|
|
|
"name": "drutopia/drutopia_template",
|
|
|
|
"description": "Template for composer-based Drutopia projects.",
|
|
|
|
"type": "project",
|
|
|
|
"license": "GPL-2.0+",
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true,
|
|
|
|
"require": {
|
|
|
|
"composer/installers": "^1.0",
|
|
|
|
"drupal-composer/drupal-scaffold": "^2.0.0",
|
|
|
|
"cweagans/composer-patches": "^1.0",
|
|
|
|
"drutopia/drutopia": "^1.0-beta2",
|
2019-07-17 14:47:01 -05:00
|
|
|
"drush/drush": "^9.0",
|
|
|
|
"drupal/migrate_plus": "^4.2",
|
|
|
|
"drupal/migrate_upgrade": "^3",
|
2019-07-18 23:59:40 -04:00
|
|
|
"drupal/migrate_tools": "^4.1",
|
|
|
|
"drupal/config_actions": "1.x-dev"
|
2019-07-12 14:27:04 -04:00
|
|
|
},
|
|
|
|
"repositories": {
|
|
|
|
"drupal": {
|
|
|
|
"type": "composer",
|
|
|
|
"url": "https://packages.drupal.org/8"
|
|
|
|
},
|
|
|
|
"drutopia": {
|
|
|
|
"type": "vcs",
|
|
|
|
"url": "https://github.com/drutopia/drutopia"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"post-install-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
|
|
|
|
"post-update-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
|
|
|
|
"nuke": "rm -rf vendor web/core web/modules/contrib web/profiles/contrib drush/contrib",
|
|
|
|
"quick-start": [
|
|
|
|
"composer install",
|
|
|
|
"php docroot/core/scripts/drupal quick-start drutopia --no-interaction"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"installer-paths": {
|
|
|
|
"web/core": [
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2019-07-18 23:28:33 -04:00
|
|
|
"enable-patching": true,
|
2019-07-18 15:40:57 -05:00
|
|
|
"patches": {
|
2019-07-18 23:28:33 -04:00
|
|
|
"drupal/core": {
|
|
|
|
"Allow an install hook in profiles installing from configuration": "https://www.drupal.org/files/issues/2018-11-27/2982052-22.patch"
|
2019-07-19 11:16:14 -05:00
|
|
|
},
|
2019-07-18 15:40:57 -05:00
|
|
|
"drutopia/drutopia": {
|
|
|
|
"Remove default content": "patches/drutopia-remove-default-content.patch"
|
|
|
|
},
|
|
|
|
"drupal/drutopia_core": {
|
|
|
|
"Remove default content": "patches/drutopia-core-remove-default-content.patch"
|
|
|
|
}
|
2019-07-18 23:28:33 -04:00
|
|
|
}
|
2019-07-12 14:27:04 -04:00
|
|
|
}
|
|
|
|
}
|