-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
101 lines (101 loc) · 3.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "php-tuf/drupal-project",
"description": "⚠️ A project template for Drupal projects, intended for testing drupal.org TUF integration only. Do not use as the basis of a real project.",
"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": {
"core": {
"type": "composer",
"url": "https://packagist-signed.drupalcode.org",
"tuf": true
},
"contrib": {
"type": "composer",
"url": "https://packages.drupal.org/8",
"tuf": true
},
"tuf_test": {
"type": "path",
"url": "tuf_test"
}
},
"require": {
"composer/installers": "^2",
"drupal/automatic_updates": "^3.1",
"drupal/core-composer-scaffold": "10.2.1",
"drupal/core-recommended": "10.2.1",
"drupal/tuf_test": "^1",
"drush/drush": "^12.4",
"php-tuf/composer-integration": "^1-alpha10"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-tuf/composer-integration": true
},
"sort-packages": true
},
"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"
]
}
},
"scripts": {
"post-install-cmd": [
"rm -r -f ./web/modules/contrib/automatic_updates/.git",
"drush site:install --yes --db-url=sqlite://localhost/db.sqlite --site-pass=admin",
"drush pm:enable tuf_test --yes",
"drush config:set package_manager.settings executables.composer $(which composer) --yes",
"drush config:set package_manager.settings executables.rsync $(which rsync) --yes"
],
"reset": [
"chmod -R +w ./web/sites/default",
"rm ./web/sites/default/settings.php",
"rm -r -f ./vendor/composer/tuf"
]
}
}