-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
108 lines (108 loc) · 3.48 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "mozo-works/baanstudio21",
"description": "Project template for Drupal 9 projects with a relocated document root",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://www.drupal.org/project/drupal",
"support": {
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
"chat": "https://www.drupal.org/node/314178"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"composer/installers": "^2",
"cweagans/composer-patches": "^1.7",
"drupal/color": "^1.0",
"drupal/colorbutton": "^1.2",
"drupal/components": "^3.0@beta",
"drupal/config_pages": "^2.9",
"drupal/core-composer-scaffold": "^10.0",
"drupal/core-recommended": "^10.0",
"drupal/gin": "^3.0",
"drupal/gin_login": "^2",
"drupal/paragraphs": "^1.13",
"drupal/prevnext": "^2.0",
"drupal/quickedit": "^1.0",
"drupal/radix": "dev-4.x",
"drupal/rdf": "^2.1",
"drupal/weight": "^3.2",
"drush/drush": "^12"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"process-timeout": 0,
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"env": "[ ! -f .env ] || export $(grep -v '^#' .env | xargs)",
"start": "[ ! -f .env ] || export $(grep -v '^#' .env | xargs) && COMPOSER_PROCESS_TIMEOUT=0 drush rs",
"pull:files": "drush -y -v rsync @prod:%files @local:%files",
"pull:db": "drush -y -v sql:sync @prod @local",
"pull": [
"@pull:files",
"@pull:db"
],
"status:prod": "drush @prod ssh 'composer outdated --direct && df -h'",
"backup": [
"drush sql:dump --gzip --result-file=../backup/baan21-db.sql",
"drush archive:dump --files --overwrite --destination=../backup/baan21-files.tar.gz",
"rclone copy ./backup drive-works:baanstudio/ && rm -rf ./backup/*"
]
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"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/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
}
},
"require-dev": {
"drupal/coder": "^8.3",
"drupal/devel": "^5.1",
"kint-php/kint": "^5.0"
}
}