-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
77 lines (77 loc) · 2.17 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
{
"name": "tarosky/sports-king",
"description": "Library for WordPress sports site.",
"type": "libary",
"scripts": {
"test":"phpunit",
"lint": [
"phpcs --standard=phpcs.ruleset.xml $(find ./app -name '*.php')",
"phpcs --standard=phpcs.ruleset.xml $(find ./functions -name '*.php')"
],
"fix": [
"phpcbf --standard=phpcs.ruleset.xml $(find ./app -name '*.php')",
"phpcbf --standard=phpcs.ruleset.xml $(find ./funcitons -name '*.php')"
],
"analyze": "phpstan analyze --memory-limit=2G"
},
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Tarosky INC.",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"repositories":[
{
"type":"composer",
"url":"https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"require": {
"php": ">=8.0",
"ext-mbstring": "*",
"ext-ftp": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.3.1",
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpstan/phpstan": "^1.11",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.4",
"php-stubs/wp-cli-stubs": "^2.10",
"tarosky/tscf": "^2.0",
"wpackagist-plugin/breadcrumb-navxt": "^7.3",
"phpunit/phpunit": "^9.6",
"yoast/phpunit-polyfills": "^3.0"
},
"autoload": {
"psr-4": {
"Tarosky\\Common\\": "./app/Tarosky/Common"
}
},
"autoload-dev": {
"psr-4": {
"Tarosky\\SportsKingTests\\": "./tests/src"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"composer/installers": true
}
},
"extra": {
"installer-paths": {
"vendor/plugins/{$name}/": [
"type:wordpress-plugin"
]
}
}
}