-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
28 lines (28 loc) · 937 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
{
"name": "mignonstyle/wp-theme-starter-kit",
"description": "Project starter kit for WordPress theme development",
"authors": [
{
"name": "Mignon Style"
}
],
"license": "GPLv2",
"require-dev": {
"squizlabs/php_codesniffer": "^2.6",
"wp-coding-standards/wpcs": "^0.10.0",
"phpmd/phpmd": "*"
},
"require": {},
"scripts" :{
"post-install-cmd": [
"php vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/"
],
"post-update-cmd": [
"php vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/"
],
"test": [
"php vendor/bin/phpcs -p -s -v -n . --standard=./rulesets/phpcs.ruleset.xml --extensions=php",
"phpmd 404.php,archive.php,comments.php,footer.php,functions.php,header.php,inc,index.php,layouts,page.php,search.php,sidebar.php,single.php,template-parts text ./rulesets/phpmd.ruleset.xml"
]
}
}