-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
85 lines (85 loc) · 2.58 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "drupal-composer/drupal-project",
"description": "Project template for Drupal 8 projects with composer",
"type": "project",
"license": "GPL-2.0+",
"authors": [
{
"name": "",
"role": ""
}
],
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"composer/installers": "~v1.6.0",
"drupal-composer/drupal-scaffold": "~2.6.1",
"cweagans/composer-patches": "~1.6.1",
"drupal/core": "^8.4",
"drush/drush": "^9@beta",
"drupal/console": "^1.0.2",
"drupal/coffee": "^1.0@beta",
"drupal/admin_toolbar": "~1.27.0",
"drupal/sparkpost": "^2.0",
"drupal/tome": "^1.4"
},
"require-dev": {
"eiriksm/wait-for-listen": "^1.0",
"drupal/drupal-extension": "^3.3",
"drupal/coder": "^8.2"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": { "Crashndash\\": "tests/src" },
"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"
],
"build": [
"git pull",
"composer install",
"./vendor/bin/drush --root=$(pwd)/web updb -y",
"@composer import",
"./vendor/bin/drush --root=$(pwd)/web cr"
],
"import": [
"./vendor/bin/drush --root=$(pwd)/web cim -y"
],
"test": [
"./vendor/bin/phpcs -p -n",
"./vendor/bin/behat --colors"
]
},
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/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"]
}
}
}