Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
69 lines (69 loc) · 2.08 KB
/
Copy pathcomposer.json
File metadata and controls
69 lines (69 loc) · 2.08 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "gatherpress/gatherpress",
"description": "Powering Communities with WordPress",
"type": "project",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "vcs",
"url": "git@github.com:penske-media-corp/pmc-unit-test.git"
},
{
"type": "vcs",
"url": "git@github.com:akirk/extract-wp-hooks.git"
}
],
"require": {
"pmc/unit-test": "dev-main",
"php": ">=8.1"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^9.0",
"doctrine/instantiator": "^1.5",
"yoast/phpunit-polyfills": "*",
"szepeviktor/phpstan-wordpress": "^1.3",
"akirk/extract-wp-hooks": "dev-main",
"phpmd/phpmd": "^2.9",
"automattic/jetpack-changelogger": "6.0.15"
},
"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:phpmd": "phpmd . text phpmd.xml",
"test": "@php ./vendor/phpunit/phpunit/phpunit",
"test:phpstan": "@php ./vendor/bin/phpstan analyze -vv --memory-limit=4G",
"hooks": "@php ./vendor/bin/extract-wp-hooks.php",
"changelog:add": [
"composer install",
"vendor/bin/changelogger add"
],
"changelog:write": [
"composer install",
"php .github/scripts/add-changelog-pr-nums.php",
"vendor/bin/changelogger write",
"php .github/scripts/link-changelog-prs.php"
]
},
"extra": {
"changelogger": {
"changes-dir": ".github/changelog/",
"link-template": "https://github.com/GatherPress/gatherpress/compare/${old}...${new}"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "8.1"
}
}
}