-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomposer.json
More file actions
71 lines (71 loc) · 2.26 KB
/
composer.json
File metadata and controls
71 lines (71 loc) · 2.26 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
{
"name": "estebanforge/hyperpress",
"description": "WordPress plugin adapter for HyperPress. Loads HyperPress Core and bundled Hyper libraries.",
"type": "wordpress-plugin",
"version": "3.2.6",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Esteban Cuevas",
"email": "esteban@actitud.xyz"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "path",
"url": "../HyperPress-Core",
"options": {
"symlink": false
}
},
{
"type": "path",
"url": "../HyperFields",
"options": {
"symlink": false
}
},
{
"type": "path",
"url": "../HyperBlocks",
"options": {
"symlink": false
}
}
],
"require": {
"php": ">=8.2",
"composer/installers": "^2.0",
"automattic/jetpack-autoloader": "^2",
"estebanforge/hyperpress-core": "^1"
},
"scripts": {
"dump-autoload-prod": "@php composer dump-autoload --optimize --no-dev",
"dump-autoload-dev": "@php composer dump-autoload",
"production": "@php composer install --no-dev --optimize-autoloader",
"test": "bash -lc 'if [ ! -f vendor/bin/pest ]; then composer update --no-interaction --no-progress; fi; php -d auto_prepend_file=tests/preload.php -d pcov.enabled=1 vendor/bin/pest --configuration phpunit.xml --colors=always'",
"test:unit": "php -d auto_prepend_file=tests/preload.php -d pcov.enabled=1 vendor/bin/pest --configuration phpunit.xml tests/Unit --colors=always",
"test:coverage": "php -d auto_prepend_file=tests/preload.php -d pcov.enabled=1 vendor/bin/pest --configuration phpunit.xml --coverage-html coverage-html --coverage-text",
"cs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php",
"cs:check": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff",
"version-bump": "bash scripts/version-bump.sh"
},
"config": {
"github-protocols": [
"https"
],
"preferred-install": "dist",
"allow-plugins": {
"composer/installers": true,
"automattic/jetpack-autoloader": true,
"pestphp/pest-plugin": true
}
},
"require-dev": {
"phpunit/phpunit": "^12.0",
"pestphp/pest": "^4.4",
"friendsofphp/php-cs-fixer": "^3.0"
}
}