-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
41 lines (41 loc) · 1.19 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
40
41
{
"name": "cleverington/elegant",
"version": "1.0.0",
"authors": [
{
"name": "Charles Leverington",
"email": "[email protected]"
}
],
"type": "wordpress-theme",
"require": {
"timber/timber": "^1.9",
"symfony/dotenv": "^4.3",
"guzzlehttp/guzzle": "^6.5"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "dev-master",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpcompatibility/php-compatibility": "*",
"phpcompatibility/phpcompatibility-wp": "*"
},
"prefer-stable": true,
"extra": {
"installer-paths": {
"../../plugins/{$name}/": ["type:wordpress-plugin"]
}
},
"autoload": {
"psr-4": {
"Elegant\\": "inc/"
},
"files": ["./inc/helpers.php"]
},
"scripts": {
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
"lint": "phpcs --standard=phpcs.xml --report-summary --report-source",
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility,vendor/wp-coding-standards/wpcs",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility,vendor/wp-coding-standards/wpcs"
}
}