-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
34 lines (34 loc) · 1.3 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
{
"name": "buddypress/bp-activity-block-editor",
"description": "Brings the power of the WordPress Blocks API into BuddyPress activities.",
"type": "buddypress-plugin",
"homepage": "https://buddypress.org",
"license": "GPL-2.0-or-later",
"authors": [ {
"name": "BuddyPress Community",
"homepage": "https://buddypress.org/about/"
} ],
"require": {
"composer/installers": "^1.10.0",
"php": ">=5.6.0"
},
"require-dev": {
"phpcompatibility/phpcompatibility-wp": "^2.1.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"squizlabs/php_codesniffer" : "^3.7.1",
"wp-coding-standards/wpcs" : "^2.3.0",
"php-parallel-lint/php-parallel-lint": "^1.3.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"do:wpcs": "@php ./vendor/bin/phpcs . --extensions=php --standard=WordPress --ignore=vendor,languages,node_modules,index.asset.php",
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf",
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude node_modules --exclude vendor .",
"phpcompat": "@php ./vendor/bin/phpcs . -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 5.6- --ignore=vendor,node_modules"
}
}