-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
45 lines (45 loc) · 1.25 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
{
"name": "ministryofjustice/wp-moj-components",
"description": "A plugin to introduce global functions to a collection of WP sites",
"type": "wordpress-muplugin",
"license": "MIT",
"require": {
"composer/installers": "^1.0"
},
"require-dev": {
"10up/wp_mock": "0.4.2",
"phpmd/phpmd": "^2.7",
"composer/composer": "*",
"squizlabs/php_codesniffer": "*"
},
"scripts": {
"phpcs-config-set": "phpcs --config-set ignore_warnings_on_exit 1",
"phpcs": "phpcs --extensions=php --ignore=*/vendor/* --standard=PSR12 .",
"phpcbf": "phpcbf --extensions=php --ignore=*/vendor/* --standard=PSR12 .",
"test": [
"vendor/bin/phpunit",
"vendor/bin/phpcs -p",
"vendor/bin/phpmd component/ text cleancode,codesize,controversial,design,naming,unusedcode"
],
"coverage": "vendor/bin/phpunit --coverage-html coverage --whitelist component"
},
"autoload": {
"psr-4": {
"MOJComponents\\": "component/"
}
},
"authors": [
{
"name": "Damien Wilson",
"email": "wordpress@digital.justice.gov.uk"
},
{
"name": "Robert Lowe",
"email": "wordpress@digital.justice.gov.uk"
},
{
"name": "Adam Brown",
"email": "wordpress@digital.justice.gov.uk"
}
]
}