-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
39 lines (39 loc) · 1.18 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
{
"name": "hamworks/hamworks",
"description": "",
"license": "proprietary",
"type": "project",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": ">=7.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.3",
"wp-coding-standards/wpcs": "^1.1"
},
"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/"
],
"csconfig": [
"@php vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/"
],
"phpcs": [
"@php vendor/bin/phpcs -p -s -v -n --standard=./.phpcs.xml.dist --extensions=php"
],
"autofix": [
"@php vendor/bin/phpcs -p -s -v -n --standard=./.phpcs.xml.dist --extensions=php --report-diff=changes.diff; patch -p0 -ui changes.diff; rm changes.diff"
],
"test": [
"@phpcs"
]
}
}