-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
104 lines (104 loc) · 3.28 KB
/
composer.json
File metadata and controls
104 lines (104 loc) · 3.28 KB
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
{
"name": "newfold-labs/wp-module-migration",
"description": "Initiates the migration process",
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\Migration\\": "includes/"
},
"files": [
"bootstrap.php"
]
},
"authors": [
{
"name": "Beyond",
"email": "team-spartans@newfold.com"
}
],
"repositories": {
"outlandishideas/wpackagist": {
"type": "composer",
"url": "https://wpackagist.org"
},
"0": {
"type": "composer",
"url": "https://newfold-labs.github.io/satis/",
"only": [
"newfold-labs/*"
]
},
"1": {
"type": "vcs",
"url": "git@github.com:InstaWP/connect-helpers.git",
"only": [
"instawp/*"
]
}
},
"require": {
"instawp/connect-helpers": "^1.0.8",
"newfold-labs/wp-module-loader": "^1.1.0"
},
"require-dev": {
"johnpbloch/wordpress": "6.9.4",
"lucatume/wp-browser": "*",
"newfold-labs/wp-php-standards": "^1.2",
"phpunit/phpcov": "*",
"wp-cli/i18n-command": "^2.7.0"
},
"scripts": {
"fix": [
"vendor/bin/phpcbf --standard=phpcs.xml ."
],
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-php",
"@i18n-json"
],
"i18n-ci-pre": [
"@i18n-pot",
"@i18n-po"
],
"i18n-ci-post": [
"@i18n-json",
"@i18n-php"
],
"i18n-json": "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n-mo": "vendor/bin/wp i18n make-mo ./languages",
"i18n-php": "vendor/bin/wp i18n make-php ./languages",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-module-migration.pot ./languages",
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-module-migration.pot --domain=wp-module-migration --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-migration/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}' --exclude=src,tests,wordpress",
"lint": [
"vendor/bin/phpcs --standard=phpcs.xml -s ."
],
"test": [
"codecept run wpunit"
],
"test-coverage": [
"codecept run wpunit --coverage wpunit.cov",
"phpcov merge --php tests/_output/merged.cov --html tests/_output/html tests/_output;",
"echo \"open tests/_output/html/index.html\" to view the report"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.3"
},
"preferred-install": {
"newfold-labs/*": "source",
"*": "dist"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true
}
},
"scripts-descriptions": {
"test": "Run tests.",
"test-coverage": "Run tests with coverage, merge coverage and create HTML report."
}
}