-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
80 lines (80 loc) · 2.27 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
{
"name": "drupalnorge/drupalcamp_template",
"description": "Template project for drupalcamps",
"type": "project",
"license": "GPL-2.0+",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"composer/installers": "^v1.4.0",
"cweagans/composer-patches": "^1.6",
"drupal/console": "~1.9.2",
"drupalnorge/drupalcamp_profile": "dev-master",
"drush/drush": "^9@rc",
"drupal/core-composer-scaffold": "~8.8.0",
"drupal/core-recommended": "~8.8.0",
"zaporylie/composer-drupal-optimizations": "^1.1",
"drupal/metatag": "^1.10"
},
"require-dev": {
"drupal/coder": "^8.2",
"eiriksm/wait-for-listen": "^1.0",
"drupal/drupal-extension": "^3.4"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"autoload": {
"psr-4": { "DrupalNorge\\Drupalcamp\\Tests\\": "tests/src" }
},
"scripts": {
"test": [
"./vendor/bin/phpcs -p -n",
"./vendor/bin/behat --colors"
],
"post-install-cmd": [
"DrupalComposer\\DrupalScaffold\\Plugin::scaffold"
],
"post-update-cmd": [
"DrupalComposer\\DrupalScaffold\\Plugin::scaffold"
],
"build": [
"git pull",
"composer install --no-dev",
"./vendor/bin/drush --root=$(pwd)/drupal updb -y",
"./vendor/bin/drush --root=$(pwd)/drupal cim -y",
"./vendor/bin/drush --root=$(pwd)/drupal cr"
]
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "drupal/"
},
"allowed-packages": [
"drupal/core"
]
},
"installer-paths": {
"drupal/core": [
"drupal/core"
],
"drupal/modules/contrib/{$name}": [
"type:drupal-module"
],
"drupal/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"drupal/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/contrib/{$name}": [
"type:drupal-drush"
]
},
"enable-patching": true
}
}