-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
35 lines (35 loc) · 1.07 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
{
"name": "digitalcube/shifter",
"type": "wordpress-plugin",
"description": "",
"require": {
"wp-coding-standards/wpcs": "*",
"squizlabs/php_codesniffer": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*"
},
"scripts": {
"post-install-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra"
],
"post-update-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra"
],
"cs-fix": [
"phpcbf . -pwv --ignore=vendor,node_modules,volume --extensions=php --standard=WordPress || git diff"
],
"cs-lint": [
"phpcs . -p --ignore=vendor,node_modules,volume --extensions=php --standard=WordPress"
]
},
"authors": [
{
"name": "Daniel Olson",
"email": "[email protected]"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}