-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
62 lines (62 loc) · 1.32 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
53
54
55
56
57
58
59
60
61
62
{
"name": "wpsh/wp-plugin",
"description": "A WordPress plugin abstraction library",
"type": "library",
"authors": [{
"name": "Kaspars Dambis",
"email": "[email protected]"
}],
"autoload": {
"psr-4": {
"WPSH\\Plugin\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WPSH\\Plugin\\Tests\\": "tests/unit/"
}
},
"require": {},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"automattic/vipwpcs": "^0.4.0",
"wp-coding-standards/wpcs": "^1.2",
"brainmaestro/composer-git-hooks": "^2.6",
"editorconfig-checker/editorconfig-checker": "^8.0",
"phpunit/phpunit": "^7.0",
"10up/wp_mock": "^0.4.0",
"php-coveralls/php-coveralls": "^2.1"
},
"scripts": {
"post-install-cmd": [
"vendor/bin/cghooks add --no-lock"
],
"post-update-cmd": [
"vendor/bin/cghooks update"
],
"lint-php": [
"vendor/bin/phpcs ."
],
"lint-editorconfig": [
"vendor/bin/editorconfig-checker --ignore-defaults ./src/*"
],
"lint": [
"@lint-php",
"@lint-editorconfig"
],
"test-unit": [
"vendor/bin/phpunit"
],
"test": [
"@test-unit"
],
"coveralls": [
"vendor/bin/php-coveralls -v"
]
},
"extra": {
"hooks": {
"pre-commit": "composer lint"
}
}
}