-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
99 lines (99 loc) · 3.53 KB
/
composer.json
File metadata and controls
99 lines (99 loc) · 3.53 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
{
"name": "newfold-labs/wp-module-onboarding-data",
"description": "A non-toggleable module containing a standardized interface for interacting with Onboarding data.",
"authors": [
{
"name": "arunshenoy99",
"email": "devarunshenoy99@gmail.com"
}
],
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\Onboarding\\Data\\": "includes/"
},
"files": [
"includes/I18n.php"
]
},
"repositories": {
"outlandishideas/wpackagist": {
"type": "composer",
"url": "https://wpackagist.org"
},
"newfold": {
"type": "composer",
"url": "https://newfold-labs.github.io/satis/",
"only": [
"newfold-labs/*"
]
}
},
"require": {
"newfold-labs/wp-module-installer": "^1.2.0",
"newfold-labs/wp-module-patterns": "^2.6",
"newfold-labs/wp-module-ai": "^1.3.1",
"wp-forge/wp-upgrade-handler": "^1.0",
"mustache/mustache": "^2.14.2",
"newfold-labs/wp-module-data": "^2.6.5",
"newfold-labs/wp-module-performance": "^3.0.0",
"newfold-labs/wp-module-install-checker": "^1.0.3",
"newfold-labs/wp-module-survey": "^1.0.1"
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2.4",
"wp-cli/i18n-command": "^2.6.2",
"johnpbloch/wordpress": "@stable",
"lucatume/wp-browser": "*",
"phpunit/phpcov": "*"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true
},
"platform": {
"php": "7.3"
}
},
"scripts": {
"fix": [
"vendor/bin/phpcbf . --ignore=*/build/* --standard=phpcs.xml -d error_reporting=\"E_ALL&~E_DEPRECATED\""
],
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-mo",
"@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-onboarding-data.pot ./languages",
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-module-onboarding-data.pot --domain=wp-module-onboarding-data --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-onboarding-data/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}' --exclude=wordpress",
"lint": [
"vendor/bin/phpcs . --ignore=*/build/* --standard=phpcs.xml -d error_reporting=\"E_ALL&~E_DEPRECATED\""
],
"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"
]
},
"scripts-descriptions": {
"test": "Run tests.",
"test-coverage": "Run tests with coverage, merge coverage and create HTML report."
}
}