-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
57 lines (57 loc) · 1.49 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
{
"name": "mwpd/mwpd-theme",
"description": "Theme for the homepage of the MWPD project.",
"type": "wordpress-theme",
"license": "MIT",
"authors": [
{
"name": "Alain Schlesser",
"email": "alain.schlesser@gmail.com"
}
],
"require": {},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "0.6.2",
"phpcompatibility/phpcompatibility-wp": "2.1.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"php-stubs/wordpress-stubs": "^5.3.2",
"phpunit/phpunit": "^6",
"phpstan/phpstan": "^0.11.5",
"roave/security-advisories": "dev-master",
"sirbrillig/phpcs-variable-analysis": "2.8.1",
"squizlabs/php_codesniffer": "^3",
"vimeo/psalm": "^3.2",
"wp-coding-standards/wpcs": "2.3.0"
},
"autoload": {
"psr-4": {
"MWPD\\MwpdTheme\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MWPD\\MwpdTheme\\Tests\\": "tests/php/"
}
},
"config": {
"platform": {
"php": "7.2"
},
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"cbf": "phpcbf",
"cs": "if [ -z $TEST_SKIP_PHPCS ]; then phpcs; fi",
"lint": "if [ -z $TEST_SKIP_LINTING ]; then parallel-lint -j 10 --colors --exclude vendor .; fi",
"test": [
"@lint",
"@unit",
"@cs",
"@analyze"
],
"analyze": "if [ -z $TEST_SKIP_PHPSTAN ]; then phpstan analyze --ansi; fi",
"unit": "if [ -z $TEST_SKIP_PHPUNIT ]; then phpunit --colors=always; fi"
}
}