forked from elementor/wp2static
-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
76 lines (76 loc) · 2.78 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
{
"name": "leonstafford/wp2static",
"description": "Security & Performance via static website publishing.",
"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/issues",
"forum": "https://wp2static.com/community",
"docs": "https://wp2static.com/documentation",
"source": "https://github.com/WP2Static/wp2static"
},
"replace": {
"guzzlehttp/guzzle":"*",
"guzzlehttp/promises":"*",
"guzzlehttp/psr7":"*"
},
"require": {
"php": ">=7.3",
"wa72/url": "^0.7.1",
"leonstafford/wp2staticguzzle": "^7.2.0",
"ext-mbstring": "*",
"ext-simplexml": "*",
"lib-libxml": "*"
},
"require-dev": {
"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",
"mikey179/vfsstream": "^1.6"
},
"autoload": {
"psr-4": {
"WP2Static\\": "src/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"classmap-authoritative": true
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore=*/js/*,*/tests/phpstan/*,*/admin/*,*/coverage/*,*.js,*/vendor/* ./",
"phpcs": "vendor/bin/phpcs -s --standard=./tools/phpcs.xml --ignore=*/tests/phpstan/*,*/admin/*,**/coverage/*,*.js,*/vendor/* ./",
"php73": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3 --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/* ./",
"php74": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.4 --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/* ./",
"phpunit": "vendor/bin/phpunit ./tests/unit/",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",
"@lint",
"@phpcs",
"@php73",
"@php74",
"@phpstan",
"@phpunit"
],
"build": "/bin/sh tools/build_release.sh"
}
}