-
Notifications
You must be signed in to change notification settings - Fork 14
/
composer.json
42 lines (42 loc) · 1.38 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
{
"name": "akirk/friends",
"description": "A social network between WordPresses. Privacy focused, by itself a self-hosted RSS++ reader with notifications.",
"license": "GPL-2.0-or-later",
"require-dev": {
"phpcompatibility/php-compatibility": "*",
"wp-coding-standards/wpcs": "*",
"yoast/phpunit-polyfills": "*",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "*",
"akirk/extract-wp-hooks": "*"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"prefer-stable": true,
"scripts": {
"lint7": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-lt70": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-gte80": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"check-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.6-"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"update-wiki": [
"test -d ../friends.wiki && php ./vendor/akirk/extract-wp-hooks/extract-wp-hooks.php && cd ../friends.wiki/ && git add . && git commit -m 'Update hooks'; git push"
]
}
}