-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
106 lines (106 loc) · 2.98 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "syntatis/howdy",
"description": "Build your next modern plugin for WordPress®",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"plugin",
"boilerplate"
],
"authors": [
{
"name": "Thoriq Firdaus",
"homepage": "/~https://github.com/tfirdaus"
}
],
"license": "GPL-3.0",
"autoload": {
"psr-4": {
"PluginName\\": "app/"
}
},
"autoload-dev": {
"files": [
"inc/bootstrap/dev.php"
]
},
"require": {
"php": "^7.4 || ^8.0",
"syntatis/codex": "^0.1",
"syntatis/codex-settings-provider": "^0.1"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"syntatis/codex-companion": "v0.2.2",
"syntatis/coding-standard": "^1.4",
"wp-cli/i18n-command": "^2.6"
},
"suggest": {
"filp/whoops": "Provide better error handling in the browser",
"nunomaduro/collision": "Provide better error handling in the console",
"symfony/var-dumper": "Provide better debugging output"
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"build": [
"codex scoper:init --yes --no-dev",
"@make-pot"
],
"make-pot": "wp i18n make-pot --exclude=vendor,dist . inc/languages/plugin-name.pot",
"phpcs": "phpcs",
"phpcs:fix": "phpcbf",
"plugin:zip": "@composer archive --format=zip",
"scoper": "codex scoper:init"
},
"scripts-descriptions": {
"build": "Build the plugin for production",
"make-pot": "Generate the POT file for translations",
"phpcs": "Check the codebase for coding standards violations",
"phpcs:fix": "Fix coding standards violations",
"plugin:zip": "Create a zip file of the plugin for distribution",
"scoper": "Scope dependencies namespace with a prefix"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"syntatis/codex-companion": true
},
"preferred-install": "dist",
"sort-packages": true
},
"archive": {
"exclude": [
"*.config.*",
"*.dist",
"*.neon",
"*.inc.php",
"*.lock",
"*.map",
"*.md",
"*.xml*",
"*.zip",
".*",
"LICENSE",
"composer.json",
"dev.php",
"node_modules",
"package-lock.json",
"package.json",
"src",
"tests",
"vendor",
"vendor-bin",
"!dist/autoload/composer.json",
"!dist/autoload/vendor"
]
},
"extra": {
"codex": {
"scoper": {
"prefix": "PluginName\\Vendor"
}
}
}
}