-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
89 lines (79 loc) · 2.62 KB
/
composer.json
File metadata and controls
89 lines (79 loc) · 2.62 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
{
"name": "deep-web-solutions/wp-framework-bootstrapper",
"type": "library",
"description": "A set of related functions that help bootstrap and version the other DWS WordPress Framework packages.",
"keywords": ["wordpress", "framework", "Deep Web Solutions", "bootstrapper"],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Contributors",
"homepage": "https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/graphs/contributors"
}
],
"require": {
"php": ">=8.4"
},
"require-dev": {
"deep-web-solutions/wordpress-configs": "dev-trunk",
"wp-cli/i18n-command": "^2",
"lucatume/wp-browser": "^4",
"roave/security-advisories": "dev-latest"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"files": [
"bootstrap.php"
]
},
"scripts": {
"generate-autoloader": "@composer dump-autoload --ignore-platform-reqs -o",
"post-autoload-dump": [
"DeepWebSolutions\\Config\\Composer\\FindWPCoreCalls::postAutoloadDump"
],
"format:php": "phpcbf --standard=./.phpcs.xml --basepath=. ./ -v",
"lint:php": [
"@lint:php:phpcs",
"@lint:php:phpmd",
"@lint:php:phpstan"
],
"lint:php:phpcs": "phpcs --standard=./.phpcs.xml --basepath=. ./ -v",
"lint:php:phpmd": "phpmd ./ ansi ./.phpmd.xml -v",
"lint:php:phpstan": "phpstan analyse -c ./.phpstan.neon -v --memory-limit=1G",
"internationalize": [
"@i18n:makepot",
"@i18n:updatepo",
"@i18n:makemo",
"@i18n:makephp"
],
"i18n:makepot": "wp i18n make-pot ./ --slug=dws-wp-framework-bootstrapper",
"i18n:updatepo": "wp i18n update-po ./languages/dws-wp-framework-bootstrapper.pot",
"i18n:makemo": "wp i18n make-mo ./languages/",
"i18n:makephp": "wp i18n make-php ./languages/",
"tests:clean": "@php ./vendor/bin/codecept clean",
"tests:run": [
"@tests:run:integration",
"@tests:run:end-to-end"
],
"tests:run:integration": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/bin/codecept run Integration --debug"
],
"tests:run:end-to-end": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/bin/codecept run EndToEnd --debug"
],
"packages-install": "@composer install --ignore-platform-reqs --no-interaction",
"packages-update": [
"@composer clear-cache",
"@composer update --prefer-stable --ignore-platform-reqs --no-interaction"
]
},
"config": {
"allow-plugins": {
"composer/*": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}