-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
62 lines (62 loc) · 1.76 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
{
"name": "newfold-labs/wp-module-help-center",
"description": "HelpCenter",
"type": "library",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Faizaan Mohammed",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "composer",
"url": "https://newfold-labs.github.io/satis/",
"only": [
"newfold-labs/*"
]
}
],
"require-dev": {
"newfold-labs/wp-php-standards": "@stable",
"wp-cli/i18n-command": "^2.6.3"
},
"require": {
"newfold-labs/wp-module-ai": "^1.1.15",
"newfold-labs/wp-module-data": "^2.6.9",
"newfold-labs/wp-module-features": "^1.5.0",
"typesense/typesense-php": "^2.0.4"
},
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\HelpCenter\\": "includes"
},
"files": [
"bootstrap.php"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
},
"platform": {
"php": "7.3"
}
},
"scripts": {
"fix": "vendor/bin/phpcbf --standard=phpcs.xml .",
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-module-help-center.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-help-center/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}' --exclude=tests,src",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-module-help-center.pot ./languages",
"i18n-php": "vendor/bin/wp i18n make-php ./languages",
"i18n-json": "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-php",
"@i18n-json"
],
"lint": "vendor/bin/phpcs --standard=phpcs.xml -s ."
}
}