-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 1.96 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
{
"name": "patrickrobrecht/posts-and-users-stats",
"description": "A WordPress plugin for statistics on posts, comments and users",
"license": "GPL-3.0-only",
"type": "wordpress-plugin",
"authors": [
{
"name": "Patrick Robrecht",
"homepage": "https://patrick-robrecht.de/",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/patrickrobrecht/posts-and-users-stats/issues",
"source": "https://github.com/patrickrobrecht/posts-and-users-stats"
},
"require": {
"php": ">=5.6",
"npm-asset/chartist": "^1.3.0",
"npm-asset/chartist-plugin-tooltips-updated": "^1.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"matthiasmullie/minify": "^1.3.73",
"phpcompatibility/php-compatibility": "^9.3.5",
"slowprog/composer-copy-file": "^0.3.3",
"squizlabs/php_codesniffer": "^3.9",
"wp-coding-standards/wpcs": "^3.1"
},
"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 assets/style.css > assets/style.min.css",
"minifyjs assets/functions.js > assets/functions.min.js"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"copy-file": {
"vendor/npm-asset/chartist/dist/index.css": "lib/chartist.min.css",
"vendor/npm-asset/chartist/dist/index.umd.js": "lib/chartist.min.js",
"vendor/npm-asset/chartist-plugin-tooltips-updated/dist/chartist-plugin-tooltip.min.js": "lib/chartist-plugin-tooltip.min.js"
}
}
}