-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
67 lines (67 loc) · 1.97 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
{
"name": "swissspidy/performant-translations",
"description": "A minimal .mo reader",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "Pascal Birchler",
"email": "[email protected]",
"homepage": "https://pascalbirchler.com",
"role": "Developer"
}
],
"require": {
"php": ">=7.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"roave/security-advisories": "dev-latest",
"wp-coding-standards/wpcs": "^3.0.0",
"yoast/phpunit-polyfills": "^1.0.1"
},
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.0"
}
},
"scripts": {
"format": "vendor/bin/phpcbf --report-summary --report-source .",
"lint": "vendor/bin/phpcs --report-summary --report-source .",
"phpstan": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpstan analyse --memory-limit=2048M"
],
"phpbench": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpbench run tests/benchmark/tests"
],
"phpbench:baseline": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpbench run tests/benchmark/tests --tag=baseline"
],
"phpbench:compare": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpbench run tests/benchmark/tests --ref=baseline"
],
"phpmd": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpmd . text phpmd.xml"
],
"test": [
"@test:integration",
"@test:integration:multisite"
],
"test:integration": "vendor/bin/phpunit -c phpunit-integration.xml.dist",
"test:integration:multisite": "vendor/bin/phpunit -c phpunit-integration-multisite.xml.dist",
"test:coverage": [
"@test:integration --coverage-clover coverage-integration.xml",
"@test:integration:multisite --coverage-clover coverage-integration-multisite.xml"
]
}
}