-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
37 lines (37 loc) · 1.29 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
{
"name": "digital-swing/dashboard-changelog",
"description": "Adds a GitHub release widget to your WordPress dashboard for a public GitHub repository.",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Chris Reynolds",
"email": "[email protected]"
}
],
"scripts": {
"phpunit": "vendor/bin/phpunit -c phpunit.xml.dist",
"install-wpunit": "bash bin/install-database.sh wordpress root ''",
"lint:php": "find ./plugin.php ./inc ./tests -name '*.php' -exec php -l {} \\;",
"lint:phpcs": "vendor/bin/phpcs -s --standard=phpcs.ruleset.xml",
"lint:phpcbf": "vendor/bin/phpcbf -s --standard=phpcs.ruleset.xml",
"lint": "composer lint:php && composer lint:phpcs"
},
"require": {
"php": ">=7.4 || >=8.0",
"erusev/parsedown": "^1.7",
"stichoza/google-translate-php": "^4.1"
},
"require-dev": {
"humanmade/coding-standards": "^1.2",
"phpunit/phpunit": "^9.5",
"roots/wordpress": "^5.0",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"allow-plugins": {
"roots/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}