c2e979481c
This stuff can mostly be done in .htaccess: https://developers.google.com/web/tools/lighthouse/audits/cache-policy > but the direction to use cached version instead of taking the error, available in dev and 2.0 beta branches currently, may be useful with Cloudflare
127 lines
4.4 KiB
JSON
127 lines
4.4 KiB
JSON
{
|
|
"name": "drutopia/drutopia_template",
|
|
"description": "Template for composer-based Drutopia projects.",
|
|
"type": "project",
|
|
"license": "GPL-2.0-or-later",
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"require": {
|
|
"behat/behat": "^3.4",
|
|
"behat/mink": "^1.7",
|
|
"behat/mink-goutte-driver": "^1.2",
|
|
"composer/installers": "^1.7",
|
|
"cweagans/composer-patches": "^1.0",
|
|
"drupal-composer/drupal-scaffold": "^2.0.0",
|
|
"drupal/allowed_formats": "^1.1",
|
|
"drupal/antibot": "^1.2",
|
|
"drupal/block_theme_sync": "^1.0@alpha",
|
|
"drupal/ckeditor_markdown": "^1.1",
|
|
"drupal/coffee": "1.x-dev",
|
|
"drupal/comment_notify": "dev-1.x",
|
|
"drupal/core-recommended": "^8.8",
|
|
"drupal/customerror": "1.x-dev",
|
|
"drupal/diff": "^1.0@RC",
|
|
"drupal/dropdown_language": "^2.2",
|
|
"drupal/drutopia_core": "1.x-dev",
|
|
"drupal/drutopia_site": "dev-1.x",
|
|
"drupal/google_analytics": "^2.3",
|
|
"drupal/honeypot": "^1.29",
|
|
"drupal/hotjar": "^1.2",
|
|
"drupal/http_cache_control": "^1.0",
|
|
"drupal/http_client_error_status": "^1.0",
|
|
"drupal/indieweb": "1.x-dev",
|
|
"drupal/mailsystem": "^4.3",
|
|
"drupal/markdown": "^1.2",
|
|
"drupal/menu_trail_by_path": "^1.1",
|
|
"drupal/migrate_plus": "^4.0",
|
|
"drupal/migrate_tools": "^4.0",
|
|
"drupal/mimemail": "^1.0@alpha",
|
|
"drupal/minimalhtml": "^1.0",
|
|
"drupal/multiline_config": "^1.0",
|
|
"drupal/paragraphs_features": "^1.4",
|
|
"drupal/preview_link": "^1.1",
|
|
"drupal/redirect": "^1.2",
|
|
"drupal/regionincontent": "1.x-dev",
|
|
"drupal/scheduler": "^1.0",
|
|
"drupal/scn": "^1.1",
|
|
"drupal/search404": "^1.0",
|
|
"drupal/swiftmailer": "^1.0@beta",
|
|
"drupal/textarea_widget_for_text": "^1.1",
|
|
"drupal/twigsuggest": "1.x-dev",
|
|
"drupal/ui_patterns": "^1.0@RC",
|
|
"drupal/viewsreference": "^1.2",
|
|
"drupal/webform": "^5.0@RC",
|
|
"drupal/webform_mailchimp": "^5.4",
|
|
"drupal/wysiwyg_linebreaks": "^1.9",
|
|
"drush/drush": "^9.0",
|
|
"drutopia/drutopia": "^1.0-beta1",
|
|
"wikimedia/composer-merge-plugin": "^1.4",
|
|
"zaporylie/composer-drupal-optimizations": "^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"
|
|
],
|
|
"web/libraries/{$name}": [
|
|
"type:drupal-library"
|
|
],
|
|
"drush/contrib/{$name}": [
|
|
"type:drupal-drush"
|
|
]
|
|
},
|
|
"merge-plugin": {
|
|
"include": [
|
|
"web/modules/contrib/webform/composer.libraries.json"
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
"drupal/coffee": {
|
|
"Allow user to specify keyboard shortcut.": "https://www.drupal.org/files/issues/2018-11-11/1734898-14.coffee-hotkeys-plus-g.patch"
|
|
},
|
|
"drupal/wysiwyg_linebreaks": {
|
|
"Excess line breaks keep getting added": "https://www.drupal.org/files/issues/2018-11-18/excess-line-breaks-keep-getting-added-3013853-5.patch"
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"sort-packages": true,
|
|
"process-timeout": 600
|
|
}
|
|
}
|