-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
60 lines (60 loc) · 1.7 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
{
"name": "claudiu-cristea/drupal-dependencies",
"description": "Drush commands to list Drupal dependencies",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Claudiu Cristea",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Drupal\\Dependencies\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Drupal\\Dependencies\\Tests\\": "tests"
}
},
"require": {
"drush/drush": "^11.0 || ^12.0"
},
"require-dev": {
"composer/installers": "^2",
"drupal/core-composer-scaffold": ">=10.0",
"drupal/core-recommended": ">=10.0",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true
},
"sort-packages": true
},
"extra": {
"installer-paths": {
"build/core": ["type:drupal-core"]
},
"drupal-scaffold": {
"locations": {
"web-root": "build/"
},
"file-mapping": {
"[project-root]/.gitattributes": false,
"[project-root]/.editorconfig": false,
"[project-root]/.gitignore": false
}
}
},
"scripts": {
"site:install": "./vendor/bin/drush site:install testing --root=build --sites-subdir=default --db-url=sqlite://sites/default/files/.ht.sqlite --yes",
"phpunit": "./vendor/bin/phpunit tests",
"phpcs": "./vendor/bin/phpcs"
}
}