-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
65 lines (65 loc) · 1.84 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
{
"name": "newfold-labs/wp-module-patterns",
"description": "WordPress Cloud Patterns",
"type": "library",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Hristina Conjic",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "composer",
"url": "https://newfold-labs.github.io/satis/",
"only": [
"newfold-labs/*"
]
}
],
"require": {
"newfold-labs/wp-module-data": "^2.6.8",
"newfold-labs/wp-module-features": "^1.4",
"newfold-labs/wp-module-installer": "^1.1"
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2.2",
"wp-cli/i18n-command": "^2.6.3"
},
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\Patterns\\": "includes"
},
"files": [
"bootstrap.php"
]
},
"scripts": {
"lint": [
"vendor/bin/phpcs . --ignore=*/build/* --standard=phpcs.xml -d error_reporting=\"E_ALL&~E_DEPRECATED\""
],
"clean": [
"vendor/bin/phpcbf . --ignore=*/build/* --standard=phpcs.xml -d error_reporting=\"E_ALL&~E_DEPRECATED\""
],
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/nfd-wonder-blocks.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-patterns/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}' --exclude=node_modules,tests,src --domain=nfd-wonder-blocks",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/nfd-wonder-blocks.pot ./languages",
"i18n-mo": "vendor/bin/wp i18n make-mo ./languages",
"i18n-php": "vendor/bin/wp i18n make-php ./languages",
"i18n-json": "find ./languages -name \"*.json\" -exec rm {} \\; && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-php",
"@i18n-json"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.3.0"
}
}
}