-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcomposer.json
76 lines (76 loc) · 2.54 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-addon-cloudflare-workers",
"description": "Cloudflare Workers 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-cloudflare-workers/issues",
"forum": "https://staticword.press",
"docs": "https://wp2static.com/documentation",
"source": "https://github.com/leonstafford/wp2static-addon-cloudflare-workers"
},
"replace": {
"guzzlehttp/guzzle":"*",
"guzzlehttp/promises":"*",
"guzzlehttp/psr7":"*"
},
"require": {
"php": "^7.4 || ^8.0",
"leonstafford/wp2staticguzzle": "^7.2.0",
"latte/latte": "^2.10",
"leonstafford/wp2static": "^7.1"
},
"require-dev": {
"10up/wp_mock": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"mikey179/vfsstream": "*",
"mockery/mockery": "*",
"pestphp/pest": "*",
"php-parallel-lint/php-parallel-lint": "*",
"phpcompatibility/php-compatibility": "*",
"phpunit/phpunit": "*",
"phpstan/phpstan-strict-rules": "*",
"squizlabs/php_codesniffer": "*",
"szepeviktor/phpstan-wordpress": "*",
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "*",
"php-stubs/wp-cli-stubs": "*"
},
"autoload": {
"psr-4": {
"WP2StaticCloudflareWorkers\\": "src/"
},
"files": [
"src/functions.php"
]
},
"config": {
"preferred-install": {
"*": "dist"
},
"classmap-authoritative": true
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan --configuration=conf/phpstan.neon analyse",
"phpcbf": "php -d memory_limit=-1 vendor/bin/phpcbf --standard=conf/phpcs.xml .",
"phpcs": "php -d memory_limit=-1 vendor/bin/phpcs -s --standard=conf/phpcs.xml .",
"pest": "vendor/bin/pest -c conf/phpunit.xml",
"coverage": "XDEBUG_MODE=coverage vendor/bin/pest -c conf/phpunit.xml --coverage",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",
"@lint",
"@phpcs",
"@phpstan",
"@pest"
],
"build": "/bin/sh tools/build_release.sh"
}
}