-
Notifications
You must be signed in to change notification settings - Fork 30
/
composer.json
40 lines (40 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
35
36
37
38
39
40
{
"name": "gatherpress/gatherpress",
"description": "Powering Communities with WordPress",
"type": "project",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "vcs",
"url": "[email protected]:penske-media-corp/pmc-unit-test.git"
}
],
"require": {
"pmc/unit-test": "dev-main",
"php": ">=7.4"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "*",
"yoast/phpunit-polyfills": "*",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"suggest": {
"wp-cli/wp-cli-bundle": "Combines the most common WP-CLI commands, including the wp-cli/i18n-command which should be used to create translation-files."
},
"scripts": {
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
"lint:errors": "@lint -n",
"test": "@php ./vendor/phpunit/phpunit/phpunit",
"test:phpstan": "@php ./vendor/bin/phpstan analyze -vv --memory-limit=2G"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}