-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
35 lines (35 loc) · 1.16 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
{
"name": "kunoichi/hide-author-archive",
"description": "Hide author archive to protect author login.",
"type": "library",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Kunoichi",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"scripts": {
"test": "phpunit",
"cs":[
"phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs",
"phpcs --standard=phpcs.ruleset.xml includes",
"phpcs --standard=phpcs.ruleset.xml hide-author-archive.php"
],
"cs:csv":[
"phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs",
"phpcs --standard=phpcs.ruleset.xml --report=csv includes | column -s , -t",
"phpcs --standard=phpcs.ruleset.xml --report=csv hide-author-archive.php | column -s , -t"
]
},
"require": {
"php": "^7.0|^5.6"
},
"require-dev": {
"phpunit/phpunit": "^5.7|^6",
"squizlabs/php_codesniffer": "~3.3.1",
"wp-coding-standards/wpcs": "~2.0",
"yoast/phpunit-polyfills": "^1.0"
}
}