-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
62 lines (62 loc) · 2.09 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
{
"name": "wp2static/simplerstatic",
"description": "A simple WordPress static site generator",
"homepage": "https://simplerstatic.com",
"license": "UNLICENSE",
"authors": [
{
"name": "Leon Stafford",
"email": "[email protected]",
"homepage": "https://ljs.dev"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/WP2Static/simplerstatic/issues",
"source": "https://github.com/WP2Static/simplerstatic"
},
"require": {
"php": ">=7.3",
"simplehtmldom/simplehtmldom": "^2.0-RC2",
"a5hleyrich/wp-background-processing": "^1.0.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": "*",
"php-parallel-lint/php-parallel-lint": "*",
"10up/wp_mock": "^0.4.2"
},
"autoload": {
"psr-4": {
"SimplerStatic\\": "src/"
}
},
"config": {
"platform": {
"php": "7.3"
},
"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=*.css,*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore=*.css,*/js/*,*/tests/*,*/admin/*,*/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpunit": "vendor/bin/phpunit ./tests/unit/",
"coverage": "vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"@lint",
"@phpcs",
"@phpstan"
],
"build": "/bin/sh tools/build_release.sh"
}
}