-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
55 lines (55 loc) · 1.26 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
{
"name": "kunoichi/ga-communicator",
"description": "Communicate with Google Analytics API.",
"type": "library",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Kunoichi",
"email": "sushi@kunoichiwp.com"
}
],
"minimum-stability": "stable",
"scripts": {
"test": "phpunit",
"test:scoper": "./vendor-prefixed/vendor/bin/phpunit",
"lint": "phpcs --standard=phpcs.ruleset.xml $(find ./ -name '*.php')",
"fix": "phpcbf --standard=phpcs.ruleset.xml $(find ./ -name '*.php')",
"scoper": [
"php-scoper add-prefix --output-dir=vendor-prefixed --force",
"composer dump-autoload --working-dir vendor-prefixed --classmap-authoritative",
"@scoper-patch"
],
"scoper-patch": [
"php bin/patcher.php"
],
"prefix": [
"composer install --no-dev",
"@scoper",
"composer install"
]
},
"require": {
"php": ">=7.2",
"google/auth": "^1.9"
},
"autoload": {
"psr-0": {
"Kunoichi\\GaCommunicator": "src"
}
},
"require-dev": {
"phpunit/phpunit": ">=5.7",
"wp-coding-standards/wpcs": "^3.0",
"yoast/phpunit-polyfills": "^1.0 || ^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
},
"config": {
"platform": {
"php": "7.2"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}