-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
74 lines (74 loc) · 3.18 KB
/
composer.json
File metadata and controls
74 lines (74 loc) · 3.18 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
{
"name": "attributes-php/wp-fastendpoints",
"type": "library",
"description": "Fast to type. Fast to run WordPress REST endpoints",
"keywords": [
"wordpress",
"fastest",
"rest-api"
],
"license": "MIT",
"require": {
"php": "^8.1",
"attributes-php/validation": "^0.9",
"php-di/invoker": "^2.0",
"attributes-php/wp-fastendpoints-contracts": "^3.0",
"attributes-php/serialization": "^0.3"
},
"suggest": {
"attributes-php/wp-exceptions": "Allows throwing exceptions instead of returning WP_Error'ss"
},
"autoload": {
"psr-4": {
"Attributes\\Wp\\FastEndpoints\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Attributes\\Wp\\FastEndpoints\\Tests\\": "tests/"
},
"classmap": [
"tests/Models"
],
"files": [
"tests/constants.php",
"tests/wp-overrides.php"
]
},
"require-dev": {
"mockery/mockery": "^1.6",
"dingo-d/wp-pest": "^1.6",
"roots/acorn": "^4.2",
"brain/monkey": "2.*",
"laravel/pint": "*",
"pestphp/pest-plugin-parallel": "^1.2"
},
"scripts": {
"lint": "./vendor/bin/pint --config pint.json",
"setup:wp:6.0": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.0.9 --skip-delete --no-interaction",
"setup:wp:6.1": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.1.7 --skip-delete --no-interaction",
"setup:wp:6.2": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.2.6 --skip-delete --no-interaction",
"setup:wp:6.3": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.3.5 --skip-delete --no-interaction",
"setup:wp:6.4": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.4.5 --skip-delete --no-interaction",
"setup:wp:6.5": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.5.5 --skip-delete --no-interaction",
"setup:wp:6.6": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.6.2 --skip-delete --no-interaction",
"setup:wp:6.7": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.7.2 --skip-delete --no-interaction",
"setup:wp:latest": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --skip-delete --no-interaction",
"test:lint": "./vendor/bin/pint --test",
"test:coverage": "./vendor/bin/pest --coverage --parallel",
"test:unit": "./vendor/bin/pest --colors=always --exclude-group=integration --parallel",
"test:integration": "./vendor/bin/pest --colors=always --group=integration",
"test": [
"@test:lint",
"@test:unit",
"@test:integration"
]
},
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"pestphp/pest-plugin": true
}
}
}