-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
30 lines (30 loc) · 990 Bytes
/
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
{
"name": "10up/insecure-content-warning",
"description": "Prevent editors from adding insecure content in the editor.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "10up",
"email": "[email protected]",
"homepage": "https://10up.com/",
"role": "Developer"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"10up/phpcs-composer": "dev-master"
},
"scripts": {
"lint": "./vendor/bin/phpcs . -p -s",
"lint-fix": "./vendor/bin/phpcbf .",
"phpcs:compat": "./vendor/bin/phpcs includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4- && ./vendor/bin/phpcs insecure-content-warning.php -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 5.6-"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}