-
-
Notifications
You must be signed in to change notification settings - Fork 98
/
composer.json
96 lines (96 loc) · 2.77 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
{
"name": "drupal/drupal-driver",
"type": "library",
"description": "A collection of reusable Drupal drivers",
"keywords": ["drupal", "web", "test"],
"homepage": "http://github.com/jhedstrom/DrupalDriver",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Jonathan Hedstrom",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4",
"symfony/process": "~2.5 || ~3.0 || ~4.4 || ^6 || ^7.1",
"symfony/dependency-injection": "~2.6 || ~3.0 || ~4.4 || ^6 || ^7.1",
"drupal/core-utility": "^8.4 || ^9 || ^10 || ^11"
},
"require-dev": {
"composer/installers": "^2.1",
"drupal/coder": "~8.3.0",
"phpspec/phpspec": "~2.0 || ~4.0 || ~6.1 || dev-main",
"phpunit/phpunit": "~6.0 || ~7.0 || ^9 || ^10",
"mockery/mockery": "^1.5",
"drupal/core-composer-scaffold": "^8.4 || ^9 || ^10 || ^11",
"drupal/core-recommended": "^8.4 || ^9 || ^10 || ^11",
"drupal/mailsystem": "^4.4 || 4.x-dev",
"drush-ops/behat-drush-endpoint": "*",
"php-parallel-lint/php-parallel-lint": "^1.0",
"dms/phpunit-arraysubset-asserts": "^0.4.0 || ^0.5.0",
"palantirnet/drupal-rector": "^0.13",
"symfony/phpunit-bridge": "^6.1"
},
"conflict": {
"drupal/core": ">=8.0 <9.3"
},
"scripts": {
"lint": "XDEBUG_MODE=off parallel-lint src spec tests",
"phpunit": "XDEBUG_MODE=coverage phpunit",
"phpspec": "XDEBUG_MODE=off phpspec run -f pretty --no-interaction",
"phpcs": "XDEBUG_MODE=off phpcs --standard=./phpcs-ruleset.xml .",
"rector": [
"cp ./vendor/palantirnet/drupal-rector/rector.php drupal/.",
"XDEBUG_MODE=off cd drupal && ../vendor/bin/rector process ../src/Drupal/Driver/Cores/Drupal8.php --dry-run",
"XDEBUG_MODE=off cd drupal && ../vendor/bin/rector process ../src/Drupal/Driver/Fields/Drupal8 --dry-run"
],
"test": [
"XDEBUG_MODE=off composer validate --no-interaction",
"@lint",
"@phpunit",
"@phpspec",
"@phpcs",
"@rector"
]
},
"autoload": {
"psr-0": {
"Drupal\\Driver": "src/",
"Drupal\\Tests\\Driver" : "tests/"
}
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"prefer-stable": true,
"minimum-stability": "beta",
"extra": {
"branch-alias": {
"dev-master": "2.3.x-dev"
},
"installer-paths": {
"drupal/core": [
"type:drupal-core"
],
"drupal/modules/{$name}": [
"type:drupal-module"
]
},
"drupal-scaffold": {
"locations": {
"web-root": "drupal/"
}
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"composer/installers": true
}
}
}