-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
41 lines (40 loc) · 1.05 KB
/
composer.json
File metadata and controls
41 lines (40 loc) · 1.05 KB
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
{
"name": "moxie-lean/wp-widgets",
"description": "Control the WP widgets whilst using WP in as a headless CMS.",
"keywords": ["wordpress"],
"homepage": "https://github.com/moxie-lean/wp-widgets",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Adam Fenton",
"email": "devs@getmoxied.net"
}
],
"require": {
"php": ">=7.4 || 8.0",
"moxie-lean/wp-acf": "1.*.*"
},
"autoload": {
"psr-4": {
"Lean\\Widgets\\": "src/"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "2.*"
},
"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"
]
}
}