-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
63 lines (63 loc) · 1.35 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "pluginkollektiv/antivirus",
"description": "Security plugin to protect your blog or website against exploits and spam injections.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=5.2",
"ext-json": "*"
},
"require-dev": {
"php": ">=7.4",
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0",
"10up/wp_mock": "^1.0",
"matthiasmullie/minify": "^1.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.10",
"wp-coding-standards/wpcs": "^3.1"
},
"scripts": {
"post-install-cmd": [
"@build"
],
"post-update-cmd": [
"@build"
],
"build": [
"@minify"
],
"cs": [
"@lint-php"
],
"csfix": [
"phpcbf --standard=phpcs.xml"
],
"lint-all": [
"@lint-php",
"@lint-js",
"@lint-css"
],
"lint-css": [
"npx stylelint css/style.css"
],
"lint-js": [
"npx eslint js/script.js"
],
"lint-php": [
"phpcs --standard=phpcs.xml -s"
],
"minify": [
"minifycss css/style.css > css/style.min.css",
"minifyjs js/script.js > js/script.min.js"
],
"test": [
"phpunit"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}