-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
91 lines (91 loc) · 2.42 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
83
84
85
86
87
88
89
90
91
{
"name": "screenfeed/sf-adminbar-tools",
"description": "WordPress plugin to add some development tools.",
"keywords": [
"wordpress",
"dev-tool"
],
"homepage": "https://github.com/Screenfeed/sf-adminbar-tools",
"license": "GPL-2.0",
"authors": [
{
"name": "Grégory Viguier",
"role": "Developer"
}
],
"type": "wordpress-plugin",
"config": {
"classloader-suffix": "ScreenfeedAdminbarTools",
"sort-packages": true
},
"support": {
"issues": "https://github.com/Screenfeed/sf-adminbar-tools/issues",
"source": "https://github.com/Screenfeed/sf-adminbar-tools"
},
"require": {
"php": ">=5.6.0",
"composer/installers": "~1.0",
"league/container": "^2.4",
"mustache/mustache": "^2.13",
"screenfeed/autowpoptions": "^1.0"
},
"require-dev": {
"php": "^7.2",
"automattic/phpcs-neutron-standard": "*",
"coenjacobs/mozart": "^0.6.0",
"dangoodman/composer-for-wordpress": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"phpmetrics/phpmetrics": "*",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": ">= 3.3.0",
"szepeviktor/phpstan-wordpress": "*",
"wp-coding-standards/wpcs": "*"
},
"autoload": {
"psr-4": {
"Screenfeed\\AdminbarTools\\": "src/classes/"
},
"classmap": [
"src/classmap"
]
},
"extra": {
"mozart": {
"dep_namespace": "Screenfeed\\AdminbarTools\\Dependencies\\",
"dep_directory": "/src/classes/Dependencies/",
"classmap_directory": "/src/classmap/dependencies/",
"classmap_prefix": "ScreenfeedAdminbarTools_",
"override_autoload": {
"mustache/mustache": {
"classmap": [
"src/"
]
}
}
}
},
"scripts": {
"cs-all":"\"vendor/bin/phpcs\"",
"cs-52": "\"vendor/bin/phpcs\" -p --colors --standard=PHPCompatibility --runtime-set testVersion 5.2- \"sf-adminbar-tools.php\" \"src/class-sfabt-requirements-check.php\"",
"cs": [
"@cs-52",
"@cs-all"
],
"stan": "\"vendor/bin/phpstan\" analyze --memory-limit=300M",
"metrics": "\"vendor/bin/phpmetrics\" --config=phpmetrics.json",
"lints": [
"@cs",
"@stan",
"@metrics"
],
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || \"vendor/bin/mozart\" compose",
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer dump-autoload"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || \"vendor/bin/mozart\" compose",
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer dump-autoload"
]
}
}