forked from elementor/static-html-output
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
78 lines (78 loc) · 2.86 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
77
78
{
"name": "leonstafford/static-html-output",
"description": "WordPress Static HTML Output Plugin.",
"homepage": "https://statichtmloutput.com",
"license": "UNLICENSE",
"authors": [
{
"name": "Leon Stafford",
"email": "[email protected]",
"homepage": "https://ljs.dev"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/leonstafford/static-html-output/issues",
"forum": "https://www.staticword.press/c/wordpress-static-site-generators/static-html-output/7",
"docs": "https://statichtmloutput.com",
"source": "https://github.com/leonstafford/static-html-output"
},
"require": {
"php": ">=7.3",
"sabberworm/php-css-parser": "^8.4.0",
"pear/net_url2": "^2.1.2",
"guzzlehttp/guzzle": "^6.5"
},
"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": "*"
},
"autoload": {
"psr-4": {
"StaticHTMLOutput\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PHPStan\\WordPress\\": "tests/phpstan/",
"StaticHTMLOutput\\": "src/"
}
},
"config": {
"platform": {
"php": "7.3"
},
"preferred-install": {
"*": "dist"
},
"classmap-authoritative": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
"phpcs": "vendor/bin/phpcs --standard=./tools/phpcs.xml --ignore=*/oldtests/*,*/tests/phpstan/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpcs72": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3 --ignore=*/oldtests/*,*/tests/phpstan/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore=*/oldtests/*,*/js/*,*/tests/phpstan/*,*/admin/*,*/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpunit": "vendor/bin/phpunit",
"coverage": "php -d zend_extension=xdebug.so vendor/bin/phpunit --coverage-html coverage --whitelist src/",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",
"@lint",
"@phpcs",
"@phpcs72",
"@phpstan",
"@phpunit"
],
"build": "/bin/sh tools/build_release.sh"
}
}