-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathcomposer.json
More file actions
52 lines (52 loc) · 1.48 KB
/
composer.json
File metadata and controls
52 lines (52 loc) · 1.48 KB
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
{
"name": "indieweb/wordpress-micropub",
"description": "A Micropub Endpoint for WordPress http://wordpress.org/plugins/micropub/",
"require": {
"composer/installers": "~1.0 || ~2.0"
},
"type": "wordpress-plugin",
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-name": "micropub"
},
"license": "CC0-1.0",
"require-dev": {
"phpunit/phpunit": "^9",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*",
"yoast/phpunit-polyfills": "^4.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpcompatibility/php-compatibility": "^9.3",
"php-parallel-lint/php-parallel-lint": "^1.3",
"sebastian/phpcpd": "*"
},
"prefer-stable": true,
"scripts": {
"test": [
"composer install",
"bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest true",
"vendor/bin/phpunit"
],
"test:wp-env": [
"wp-env run tests-cli --env-cwd=\"wp-content/plugins/micropub\" vendor/bin/phpunit"
],
"lint": [
"@lint:php",
"./vendor/bin/phpcs -n -p"
],
"lint:fix": [
"./vendor/bin/phpcbf -p"
],
"phpunit": "./vendor/bin/phpunit",
"setup-local-tests": "bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest",
"phpcs": "./vendor/bin/phpcs -p",
"phpcbf": "./vendor/bin/phpcbf -p",
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor ."
}
}