-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
50 lines (50 loc) · 1.59 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
{
"name": "drupal-composer/info-rewrite",
"description": "Writes out version information to the .info.yml files for Drupal projects.",
"type": "composer-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Jonathan Hedstrom",
"email": "jhedstrom@gmail.com"
}
],
"extra": {
"class": "DrupalComposer\\Composer\\DrupalInfo",
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"require": {
"composer-plugin-api": "^1.1 || ^2.0"
},
"require-dev": {
"composer/composer": "~1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"mikey179/vfsstream": "~1.2",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.0",
"phpspec/prophecy-phpunit": "^2.0"
},
"autoload": {
"psr-4": {
"DrupalComposer\\Composer\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"DrupalComposer\\Composer\\Tests\\": "tests"
}
},
"scripts": {
"test:unit": "phpunit --log-junit=reports/unitreport.xml --coverage-text --coverage-html=reports/coverage --coverage-clover=reports/coverage.xml",
"phpcs": "phpcs --encoding=utf-8 --standard=PSR2 --report-checkstyle=reports/checkstyle-phpcs.xml --report-full --extensions=php src/* tests/*",
"phpcbf": "phpcbf --standard=PSR2 --extensions=php src/* tests/*",
"test": [
"composer validate --no-interaction",
"parallel-lint src tests",
"@test:unit",
"@phpcs"
]
}
}