-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
composer.json
82 lines (82 loc) · 2.1 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "pluginkollektiv/cachify",
"type": "wordpress-plugin",
"license": "GPL-2.0+",
"description": "Smart but efficient cache solution for WordPress. Use DB, HDD, APC or Memcached for storing your blog pages. Make WordPress faster!",
"homepage": "https://wordpress.org/plugins/cachify/",
"authors": [
{
"name": "Sergej Müller",
"homepage": "https://sergejmueller.github.io"
},
{
"name": "pluginkollektiv",
"homepage": "https://github.com/pluginkollektiv"
}
],
"keywords": [
"wordpress", "wordpress-plugin"
],
"support": {
"issues": "https://github.com/pluginkollektiv/cachify",
"forum": "https://wordpress.org/support/plugin/cachify"
},
"require": {
"php": ">=5.6",
"composer/installers": "^v1|^v2"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0",
"matthiasmullie/minify": "^1.3",
"phpunit/phpunit": "^5|^7|^9",
"squizlabs/php_codesniffer": "^3.10",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-coding-standards/wpcs": "^3.1",
"yoast/phpunit-polyfills": "^2.0"
},
"scripts": {
"post-install-cmd": [
"@build"
],
"post-update-cmd": [
"@build"
],
"build": [
"minifycss css/dashboard.css > css/dashboard.min.css",
"minifycss css/admin-bar-flush.css > css/admin-bar-flush.min.css",
"minifyjs js/admin-bar-flush.js > js/admin-bar-flush.min.js"
],
"cs": [
"@lint-php"
],
"csfix": [
"phpcbf --standard=phpcs.xml"
],
"lint-all": [
"@lint-php",
"@lint-css",
"@lint-js"
],
"lint-css": [
"npx stylelint css/dashboard.css css/admin-bar-flush.css"
],
"lint-js": [
"npx eslint js/admin-bar-flush.js"
],
"lint-php": [
"phpcs --standard=phpcs.xml -s"
],
"test": [
"phpunit"
],
"coverage": [
"php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html tests/coverage"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
}
}