composer.json 2.02 KB
Newer Older
Chris Thompson's avatar
Chris Thompson committed
1
{
Chris Thompson's avatar
Chris Thompson committed
2 3
    "name": "drutopia/drutopia_vm",
    "description": "Virtual machine ready version of Drutopia for testing and development.",
Chris Thompson's avatar
Chris Thompson committed
4 5 6 7 8 9 10
    "type": "project",
    "license": "GPL-2.0+",
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "composer/installers": "^1.0",
        "cweagans/composer-patches": "^1.0",
11
        "drupal-composer/drupal-scaffold": "^2.0.0",
12
        "drutopia/drutopia": "^1.0-beta2",
13 14 15
        "drush/drush": "^9.0",
        "drupal/redirect": "^1.2",
        "drupal/block_theme_sync": "^1.0@alpha",
16 17
        "drupal/search404": "^1.0",
        "drupal/webform": "^5.1"
Chris Thompson's avatar
Chris Thompson committed
18 19 20 21 22 23 24 25 26 27 28 29
    },
    "repositories": {
        "drupal": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        "drutopia": {
            "type": "vcs",
            "url": "https://github.com/drutopia/drutopia"
        }
    },
    "scripts": {
30 31 32 33 34 35 36 37 38 39 40
      "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"
      ]
Chris Thompson's avatar
Chris Thompson committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
    },
    "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"
            ]
        },
60
        "enable-patching": true,
61 62 63
	"patches": {
	    "drupal/search404": {
		"Remove search module dependency": "https://www.drupal.org/files/issues/2018-07-09/search404-core-search-dependency-9.patch"
64 65
	    }
	}
Chris Thompson's avatar
Chris Thompson committed
66 67
    }
}