forked from mentosmenno2/image-crop-positioner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
65 lines (65 loc) · 1.66 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
{
"name": "mentosmenno2/image-crop-positioner",
"description": "Face recognition and hotspot selection for cropping images in WordPress.",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "mentosmenno2"
}
],
"require": {
"php": ">=7.3"
},
"autoload": {
"psr-4": {
"Mentosmenno2\\ImageCropPositioner\\": "app/"
}
},
"scripts": {
"post-install-cmd": [
"composer dump-autoload"
],
"post-update-cmd": [
"composer dump-autoload"
],
"test":[
"echo Running tests",
"@test:composer",
"@test:phpcs",
"@test:phpstan",
"@test:docs"
],
"test:composer": [
"composer validate"
],
"test:phpcs": [
"phpcs"
],
"test:phpstan": [
"./vendor/bin/phpstan --memory-limit=2G"
],
"test:docs": [
"php-doc-check ./app -x vendor"
],
"fix":[
"phpcbf"
],
"make-pot": [
"wp i18n make-pot ./ --path=./ --skip-js --slug=image-crop-positioner"
]
},
"require-dev": {
"niels-de-blaauw/php-doc-check": "^0.2.2",
"mentosmenno2/coding-standards": "^1.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3",
"wp-cli/wp-cli-bundle": "*"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}