76 lines
2.3 KiB
JSON
76 lines
2.3 KiB
JSON
{
|
|
"name": "drutopia/drutopia_template",
|
|
"description": "Template for composer-based Drutopia projects.",
|
|
"type": "project",
|
|
"license": "GPL-2.0+",
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"require": {
|
|
"behat/behat": "^3.4",
|
|
"behat/mink": "^1.7",
|
|
"behat/mink-goutte-driver": "^1.2",
|
|
"composer/installers": "^1.0",
|
|
"cweagans/composer-patches": "^1.0",
|
|
"drupal-composer/drupal-scaffold": "^2.0.0",
|
|
"drupal/core": "^8.6.0",
|
|
"drutopia/drutopia": "dev-8.x-1.x",
|
|
"drupal/drutopia_core": "1.x-dev",
|
|
"drupal/drutopia_resource": "1.x-dev",
|
|
"drush/drush": "^9.0",
|
|
"drupal/migrate_tools": "^4.0",
|
|
"drupal/migrate_plus": "^4.0",
|
|
"drupal/webform": "^5.0@RC",
|
|
"drupal/wysiwyg_linebreaks": "^1.9",
|
|
"drupal/redirect": "^1.2",
|
|
"drupal/block_theme_sync": "^1.0@alpha",
|
|
"drupal/search404": "^1.0"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"enable-patching": true,
|
|
"patches": {
|
|
"drupal/search404": {
|
|
"Remove search module dependency": "https://www.drupal.org/files/issues/2018-07-09/search404-core-search-dependency-9.patch"
|
|
}
|
|
}
|
|
}
|
|
}
|