Skip to content

Instantly share code, notes, and snippets.

@franz-josef-kaiser
Created February 11, 2017 18:42
Show Gist options
  • Save franz-josef-kaiser/ab5afa9d2ceef23aab91b0bfd5ab250f to your computer and use it in GitHub Desktop.
Save franz-josef-kaiser/ab5afa9d2ceef23aab91b0bfd5ab250f to your computer and use it in GitHub Desktop.
Composer bootstrapped Drupal scaffold.
{
"name" : "vendor/project",
"description" : "Much awesome. So wow.",
"type" : "project",
"license" : "MIT",
"authors" : [
{
"name" : "Firstname Lastname",
"email" : "[email protected]",
"role" : "Developer"
}
],
"repositories" : [
{
"type" : "composer",
"url" : "https://packages.drupal.org/8"
},
{
"type" : "package",
"package" : {
"name" : "enyo/dropzone",
"version" : "dev-master",
"type" : "drupal-library",
"dist" : {
"url" : "https://github.com/enyo/dropzone.git",
"type" : "drupal-library"
},
"source" : {
"url" : "https://github.com/enyo/dropzone.git",
"type" : "git",
"reference" : "origin/master"
}
}
}
],
"require" : {
"composer/installers" : "^1.2",
"drupal-composer/drupal-scaffold" : "^2.2",
"cweagans/composer-patches" : "~1.0",
"drupal/core" : "~8.2",
"drush/drush" : "~8.0",
"drupal/console" : "~1.0",
"drupal/entity_browser" : "8.1.0-alpha1",
"drupal/devel" : "dev-8.x-1.x",
"drupal/inline_entity_form" : "8.1.0-alpha2",
"drupal/dropzonejs" : "8.1.*@dev",
"enyo/dropzone" : "dev-master"
},
"require-dev" : {
"behat/mink" : "~1.7",
"behat/mink-goutte-driver" : "~1.2",
"jcalderonzumba/gastonjs" : "~1.0.2",
"jcalderonzumba/mink-phantomjs-driver" : "~0.3.1",
"mikey179/vfsStream" : "~1.2",
"phpunit/phpunit" : "~4.8",
"symfony/css-selector" : "~2.8"
},
"conflict" : {
"drupal/drupal" : "*"
},
"minimum-stability" : "dev",
"prefer-stable" : true,
"autoload" : {
"classmap" : [
"scripts/composer/ScriptHandler.php"
]
},
"scripts" : {
"drupal-scaffold" : "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"pre-install-cmd" : [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"pre-update-cmd" : [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-install-cmd" : [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-update-cmd" : [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
]
},
"extra" : {
"installer-paths" : {
"web/core" : [
"type:drupal-core"
],
"web/sites/libraries/{$name}" : [
"type:drupal-library"
],
"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"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment