-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
composer.json
73 lines (73 loc) · 2.45 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
{
"name": "leonstafford/wp2static-addon-s3",
"description": "S3 deployment Add-on for WP2Static.",
"homepage": "https://wp2static.com",
"license": "UNLICENSE",
"authors": [
{
"name": "Leon Stafford",
"email": "[email protected]",
"homepage": "https://ljs.dev"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/leonstafford/wp2static-addon-s3/issues",
"forum": "https://wp2static.com/community",
"docs": "https://wp2static.com/documentation",
"source": "https://github.com/leonstafford/wp2static-addon-s3"
},
"repositories": [
],
"require": {
"php": ">=7.3",
"aws/aws-sdk-php": "^3.166.1"
},
"require-dev": {
"phpstan/phpstan": "*",
"thecodingmachine/phpstan-strict-rules": "*",
"szepeviktor/phpstan-wordpress": "*",
"squizlabs/php_codesniffer": "*",
"phpunit/phpunit": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/php-compatibility": "*",
"php-parallel-lint/php-parallel-lint": "*",
"10up/wp_mock": "^0.4.2"
},
"autoload": {
"psr-4": {
"WP2StaticS3\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PHPStan\\WordPress\\": "tests/phpstan/",
"WP2StaticS3\\": "src/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"classmap-authoritative": true
},
"scripts": {
"phpstan": "php -d memory_limit=-1 vendor/bin/phpstan analyse",
"phpcs": "vendor/bin/phpcs --standard=./tools/phpcs.xml --ignore='/tests/*,/vendor/*' ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore='/tests/*,/vendor/*' ./",
"phpunit": "vendor/bin/phpunit ./tests/unit/",
"php73": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3 --ignore='/tests/*,/vendor/*' ./",
"php74": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.4 --ignore='/tests/*,/vendor/*' ./",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",
"@lint",
"@phpcs",
"@php73",
"@php74",
"@phpstan"
],
"build": "/bin/sh tools/build_release.sh"
}
}