-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
25 lines (25 loc) · 888 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
{
"name": "featherplain/amethyst",
"authors": [
{
"name": "Megumi Hano"
}
],
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
"wp-coding-standards/wpcs": "2014-12-11",
"phpmd/phpmd": "@stable"
},
"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=./codesniffer.ruleset.xml --extensions=php",
"phpmd template-parts,inc,404.php,archive.php,comments.php,footer.php,functions.php,header.php,index.php,page.php,search.php,sidebar.php,single.php text phpmd.ruleset.xml"
]
}
}