-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
40 lines (40 loc) · 1.39 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
{
"name": "buddypress/bp-attachments",
"description": "BP Attachments is a BuddyPress add-on to manage your community members media.",
"type": "buddypress-plugin",
"homepage": "https://buddypress.org",
"license": "GPL-2.0-or-later",
"authors": [ {
"name": "BuddyPress Community",
"homepage": "https://buddypress.org/about/"
} ],
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"repositories": [
{
"url": "https://github.com/buddypress/bp-coding-standards.git",
"type": "git"
}
],
"require": {
"composer/installers": "^1.10.0",
"php": ">=5.6.0"
},
"require-dev": {
"buddypress/bp-coding-standards": "dev-trunk",
"wp-phpunit/wp-phpunit": "^6.1",
"yoast/phpunit-polyfills": "^1.0.1"
},
"scripts": {
"test": "@php ./vendor/phpunit/phpunit/phpunit",
"lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"do:wpcs": "@php ./vendor/bin/phpcs . --extensions=php --ignore=bin,vendor/,tests/,languages/,node_modules/,templates/",
"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/,tests/,languages/,node_modules/,templates/,bin/"
}
}