-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
35 lines (35 loc) · 979 Bytes
/
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": "moxie-lean/wp-headless-theme",
"description": "wp-headless-theme",
"keywords": [],
"homepage": "https://github.com/moxie-lean/wp-headless-theme",
"type": "wordpress-theme",
"license": "MIT",
"authors": [
{
"name": "Moxie Developers",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.4",
"composer/installers": "^1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
"wp-coding-standards/wpcs": "0.9.0"
},
"scripts": {
"installSniffer": [
"./vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/",
"./vendor/bin/phpcs --config-set default_standard ./codesniffer.ruleset.xml",
"./vendor/bin/phpcs --config-set show_progress 0",
"./vendor/bin/phpcs --config-set colors 1"
],
"post-install-cmd": [ "@installSniffer" ],
"post-update-cmd": [ "@installSniffer" ],
"ci": [
"phpcs src/*.php src/**/*.php"
]
}
}