-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
65 lines (63 loc) · 1.44 KB
/
composer.json
File metadata and controls
65 lines (63 loc) · 1.44 KB
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
{
"name": "igorcode/i-order-terms",
"description": "I Order Terms - WordPress plugin",
"homepage": "https://github.com/IgorCode/i-order-terms",
"type": "project",
"license": "GPL-2.0-only",
"authors": [
{
"name": "Igor Jerosimić",
"homepage": "https://igor.jerosimic.net",
"role": "Developer"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.0.0"
},
"require-dev": {
"phpstan/phpstan": "^2.1",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0"
},
"config": {
"process-timeout": 600,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"scripts": {
"qa-phpstan": [
"./vendor/bin/phpstan analyse --configuration phpstan.neon"
],
"qa": [
"# <info>PHPStan Lint</info>",
"@qa-phpstan"
],
"dev-init": [
"# <info>Composer update</info>",
"composer update"
],
"prod-init": [
"# <info>Composer install</info>",
"composer install --prefer-dist --no-dev --no-scripts --optimize-autoloader"
],
"test-init": [
"# <info>Composer install</info>",
"composer install --no-progress --optimize-autoloader --prefer-dist"
]
},
"scripts-descriptions": {
"qa": "Run QA on code.",
"qa-phpstan": "Run static analyses with phpstan.",
"dev-init": "Init dev environment.",
"prod-init": "Init prod environment.",
"test-init": "Init test environment."
}
}