forked from pluginkollektiv/statify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
66 lines (66 loc) · 1.82 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
{
"name": "pluginkollektiv/statify",
"description": "Compact, easy-to-use and privacy-compliant stats plugin for WordPress.",
"license": "GPL-3.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"plugin",
"statistics"
],
"require": {
"php": "^5.2|^7",
"npm-asset/chartist": "^0.11.0",
"npm-asset/chartist-plugin-tooltips": "^0.0.18"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4",
"matthiasmullie/minify": "^1.3",
"slowprog/composer-copy-file": "^0.2",
"squizlabs/php_codesniffer": "^3.1",
"wimg/php-compatibility": "^8.0",
"wp-coding-standards/wpcs": "^0.14"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"scripts": {
"post-install-cmd": [
"@build"
],
"post-update-cmd": [
"@build"
],
"build": [
"@cs",
"@copy-assets",
"@minify"
],
"copy-assets": [
"SlowProg\\CopyFile\\ScriptHandler::copy"
],
"cs": [
"phpcs --standard=phpcs.xml -s"
],
"csfix": [
"phpcbf --standard=phpcs.xml"
],
"minify": [
"minifycss css/dashboard.css > css/dashboard.min.css",
"minifyjs js/dashboard.js > js/dashboard.min.js",
"minifycss vendor/npm-asset/chartist-plugin-tooltips/dist/chartist-plugin-tooltip.css > css/chartist-plugin-tooltip.min.css"
]
},
"extra": {
"copy-file": {
"vendor/npm-asset/chartist/dist/chartist.min.css": "css/",
"vendor/npm-asset/chartist/dist/chartist.min.js": "js/",
"vendor/npm-asset/chartist/dist/chartist.min.js.map": "js/",
"vendor/npm-asset/chartist-plugin-tooltips/dist/chartist-plugin-tooltip.min.js": "js/",
"vendor/npm-asset/chartist-plugin-tooltips/dist/chartist-plugin-tooltip.min.js.map": "js/"
}
}
}