-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
40 lines (40 loc) · 1.37 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
{
"name": "pantheon-systems/decoupled-preview",
"description": "Preview WordPress content on Front-end sites including Next.js",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Pantheon",
"email": "noreply@pantheon.io"
},
{
"name": "abhisekmazumdar",
"email": "abhisek.mazumdar@pantheon.io"
},
{
"name": "Chris Reynolds",
"email": "chris.reynolds@pantheon.io"
}
],
"require-dev": {
"pantheon-systems/pantheon-wp-coding-standards": "^2.0",
"phpunit/phpunit": "^9.6",
"yoast/phpunit-polyfills": "^2.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"sort-packages": true
}
},
"scripts": {
"lint:php": "find ./wp-decoupled-preview.php ./src ./templates -name '*.php' -exec php -l {} \\;",
"lint:phpcs": "vendor/bin/phpcs -s --ignore=tests/* --standard=Pantheon-WP .",
"lint:phpcbf": "vendor/bin/phpcbf -s --ignore=tests/* --standard=Pantheon-WP .",
"lint": "composer lint:php && composer lint:phpcs",
"phpunit": "vendor/bin/phpunit",
"test": "@phpunit",
"test:install": "bash .bin/install-wp-tests.sh wordpress_test root '' localhost latest"
}
}