-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
72 lines (72 loc) · 2.31 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
{
"name": "newfold-labs/wp-module-performance",
"description": "A module for managing caching functionality.",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Micah Wood",
"homepage": "https://wpscholar.com"
}
],
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\Performance\\": "includes"
},
"files": [
"includes/PerformanceFeature.php",
"includes/functions.php",
"bootstrap.php"
]
},
"repositories": [
{
"type": "composer",
"url": "https://newfold-labs.github.io/satis/",
"only": [
"newfold-labs/*"
]
}
],
"require": {
"newfold-labs/wp-module-context": "^1.0",
"wp-forge/collection": "^1.0",
"wp-forge/wp-htaccess-manager": "^1.0",
"wpscholar/url": "^1.2",
"newfold-labs/wp-module-features": "^1.5",
"newfold-labs/wp-module-installer": "^1.6"
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2",
"wp-cli/wp-cli-bundle": "^2.11",
"wp-cli/i18n-command": "^2.6",
"10up/wp_mock": "^1.1"
},
"scripts": {
"test": "phpunit --bootstrap tests/phpunit/bootstrap.php",
"cs-fix": "phpcbf --standard=phpcs.xml .",
"cs-lint": "phpcs --standard=phpcs.xml -s .",
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-module-performance.pot --domain=wp-module-performance --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-performance/issues\",\"POT-Creation-Date\":null}' --exclude=src,tests,vendor,assets --include=build/*.min.js",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-module-performance.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-php": "vendor/bin/wp --allow-root i18n make-php ./languages",
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-mo",
"@i18n-json",
"@i18n-php"
]
},
"scripts-descriptions": {
"test": "Run PHPUnit tests",
"i18n": "Generate files for translation.",
"cs-fix": "Automatically fix coding standards issues where possible.",
"cs-lint": "Check files against coding standards."
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}