-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
39 lines (39 loc) · 1.23 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
{
"name": "emilia/eco-friendly-robots-txt",
"description": "Optimizes your site's robots.txt to reduce server load and CO2 footprint by blocking unnecessary crawlers while allowing major search engines and specific tools.",
"homepage": "https://joost.blog/plugins/eco-friendly-robots-txt/",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"require": {
"php": ">=7.4"
},
"require-dev": {
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "^7.0",
"yoast/wp-test-utils": "^1.2"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"check-cs": [
"@php ./vendor/bin/phpcs -s"
],
"fix-cs": [
"@php ./vendor/bin/phpcbf"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
],
"lint-blueprint": [
"@php -r \"exit( intval( is_null( json_decode( file_get_contents( './.wordpress-org/blueprints/blueprint.json' ) ) ) ) );\""
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit"
]
}
}