-
Notifications
You must be signed in to change notification settings - Fork 13
/
composer.json
47 lines (47 loc) · 1.38 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
{
"name": "pantheon-systems/pantheon-advanced-page-cache",
"type": "wordpress-plugin",
"authors": [
{
"name": "Pantheon",
"email": "[email protected]"
}
],
"require-dev": {
"behat/behat": "^3.1",
"behat/mink-extension": "^2.2",
"behat/mink-goutte-driver": "^1.2",
"pantheon-systems/pantheon-wordpress-upstream-tests": "dev-master",
"phpunit/phpunit": "^9",
"phpcompatibility/php-compatibility": "^9.3",
"yoast/phpunit-polyfills": "^2.0",
"pantheon-systems/pantheon-wp-coding-standards": "^2.0",
"pantheon-systems/wpunit-helpers": "^2.0"
},
"scripts": {
"fix-perms": "chmod +x ./bin/*.sh",
"post-update-cmd": [
"@fix-perms"
],
"post-install-cmd": [
"@fix-perms"
],
"lint": [
"@phpcs",
"@phplint"
],
"phpcs": "vendor/bin/phpcs --ignore=tests/* -s .",
"phpcbf": "vendor/bin/phpcbf --ignore=tests/* .",
"phplint": "find . -type f -name '*.php' -not -path './vendor/*' -not -path './tests/*' -exec php -l {} \\;",
"phpunit": "vendor/bin/phpunit --do-not-cache-result",
"test": "@phpunit",
"test:install": "bin/install-local-tests.sh --skip-db=true",
"test:install:withdb": "bin/install-local-tests.sh"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"pantheon-systems/wpunit-helpers": true
}
}
}