-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
75 lines (75 loc) · 2.45 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
{
"name": "newfold-labs/wp-module-deactivation",
"description": "A Module for handling WordPress brand plugins and modules deactivations",
"type": "library",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Micah Wood",
"email": "[email protected]"
},
{
"name": "Evan Mullins",
"homepage": "https://evanmullins.com"
},
{
"name": "Al Ani",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "composer",
"url": "https://newfold-labs.github.io/satis/",
"only": [
"newfold-labs/*"
]
}
],
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\Deactivation\\": "includes"
},
"files": [
"bootstrap.php"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"newfold-labs/wp-module-data": "^2.0.0"
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2",
"wp-cli/i18n-command": "^2.6"
},
"scripts": {
"fix": [
"vendor/bin/phpcbf --standard=phpcs.xml ."
],
"lint": [
"vendor/bin/phpcs --standard=phpcs.xml -s ."
],
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-module-deactivation.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-deactivation/issues\",\"POT-Creation-Date\":\"2024-12-12T07:59:34+00:00\"}' --exclude=tests",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-module-deactivation.pot ./languages",
"i18n-mo": "vendor/bin/wp i18n make-mo ./languages",
"i18n-json": "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-mo"
]
},
"scripts-descriptions": {
"lint": "Check files against coding standards.",
"clean": "Automatically fix coding standards issues where possible.",
"i18n": "Generate new language files.",
"i18n-pot": "Generate a .pot file for translation.",
"i18n-po": "Update existing .po files.",
"i18n-mo": "Generate new language .mo files.",
"i18n-json": "Generate new language .json files."
}
}