-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcomposer.json
49 lines (49 loc) · 1.49 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
{
"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": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*",
"yoast/phpunit-polyfills": "^1.0 || ^2.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": {
"phpunit": "./vendor/bin/phpunit",
"lint": [
"@lint:php",
"./vendor/bin/phpcs -n -p",
"@phpcpd"
],
"build": [
"./vendor/bin/phpcbf -p",
"@update-readme"
],
"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",
"phpcpd": "./vendor/bin/phpcpd --fuzzy --exclude .git --exclude vendor --exclude tests .",
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor .",
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
]
}
}