-
Notifications
You must be signed in to change notification settings - Fork 17
/
composer.json
65 lines (65 loc) · 2.02 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": "wp2static/wp2static-addon-zip",
"description": "Zip 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/WP2Static/wp2static-addon-zip/issues",
"forum": "https://wp2static.com/community",
"docs": "https://wp2static.com/documentation",
"source": "https://github.com/WP2Static/wp2static-addon-zip"
},
"require": {
"php": ">=7.2"
},
"require-dev": {
"phpstan/phpstan": "*",
"thecodingmachine/phpstan-strict-rules": "*",
"szepeviktor/phpstan-wordpress": "*",
"squizlabs/php_codesniffer": "*",
"phpunit/phpunit": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"wp-coding-standards/wpcs": "*",
"php-parallel-lint/php-parallel-lint": "*",
"10up/wp_mock": "^0.4.2"
},
"autoload": {
"psr-4": {
"WP2StaticZip\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PHPStan\\WordPress\\": "tests/phpstan/",
"WP2StaticZip\\": "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/",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"build": "/bin/sh tools/build_release.sh",
"test": [
"@lint",
"@phpcs",
"@phpstan",
"@phpunit"
]
}
}