-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
52 lines (52 loc) · 1.61 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
{
"name": "vendor_name/wp-dev",
"description": "description",
"minimum-stability": "stable",
"license": "proprietary",
"authors": [
{
"name": "rahat",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.6",
"squizlabs/php_codesniffer": "^3.3.1",
"friendsofphp/php-cs-fixer": "^3.5",
"ext-json": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6 || ^0.7",
"phpcompatibility/php-compatibility": "^9.0",
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"phpcsstandards/phpcsdevtools": "^1.0"
},
"suggest": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
},
"scripts": {
"check-cs": [
"./vendor/bin/phpcs --standard=WordPress"
],
"fix-cs": [
"./vendor/bin/phpcbf --standard=WordPress"
],
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"run-tests": [
"@php ./vendor/phpunit/phpunit/phpunit --filter WordPress --bootstrap=\"./vendor/squizlabs/php_codesniffer/tests/bootstrap.php\" ./vendor/squizlabs/php_codesniffer/tests/AllTests.php"
],
"check-complete": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness -q ./WordPress"
],
"check-complete-strict": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness ./WordPress"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}