-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
40 lines (39 loc) · 1.01 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": "wearenolte/wp-cpt",
"description": "Create custom post types easier.",
"keywords": ["wordpress", "cpt", "post types"],
"homepage": "https://github.com/moxie-lean/wp-cpt",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Crisoforo Gaspar Hernandez",
"email": "github@crisoforo.com"
}
],
"require": {
"php": ">=7.2 || >=8.0"
},
"autoload": {
"psr-4": {
"Lean\\": "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" ],
"test": [
"phpcs src/*.php"
]
}
}