forked from remorhaz/php-json-path
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
85 lines (85 loc) · 2.31 KB
/
composer.json
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
{
"name": "remorhaz/php-json-path",
"description": "JSONPath implementation in PHP",
"homepage": "https://github.com/remorhaz/php-json-path",
"license": "MIT",
"keywords": [
"json",
"jsonpath",
"json path"
],
"authors": [
{
"name": "Edward Surov",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-intl": "*",
"ext-json": "*",
"remorhaz/php-unilex": "^0.5.3",
"remorhaz/php-json-data": "^0.7",
"nikic/php-parser": "^4.12 || ^5"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^10.1 || ^11"
},
"autoload": {
"psr-4": {
"Remorhaz\\JSON\\Path\\": [
"src/",
"generated/"
]
}
},
"autoload-dev": {
"psr-4": {
"Remorhaz\\JSON\\Path\\Test\\": "tests/"
}
},
"scripts": {
"post-update-cmd": ["@phive-install"],
"post-install-cmd": ["@phive-install"],
"phive-install": [
"`if [ -f tools/phive ]; then echo 'tools/'; fi`phive install --trust-gpg-keys C5095986493B4AA0"
],
"build": [
"vendor/bin/unilex build-token-matcher --desc=\"JSONPath token matcher.\" spec/LexerSpec.php generated/TokenMatcher.php",
"vendor/bin/unilex build-lookup-table --type=LL_1 --symbol=Remorhaz\\\\JSON\\\\Path\\\\Parser\\\\SymbolType --token=Remorhaz\\\\JSON\\\\Path\\\\Parser\\\\TokenType --desc=\"JSONPath parser LL(1) lookup table.\" spec/GrammarSpec.php generated/LookupTable.php",
"vendor-bin/cs/vendor/bin/phpcbf -p generated/; if [ $? -eq 1 ]; then exit 0; fi"
],
"test-cs": [
"vendor-bin/cs/vendor/bin/phpcs -sp"
],
"test-unit": [
"vendor/bin/phpunit --coverage-xml=build/log/coverage-xml --coverage-clover=build/log/clover.xml --log-junit=build/log/junit.xml"
],
"test": [
"@test-cs",
"@test-unit"
],
"infection": [
"mkdir -p build/log/infection",
"tools/infection --threads=4 --coverage=build/log --no-progress --skip-initial-tests"
],
"test-infection": [
"@test-unit",
"@infection"
]
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"forward-command": true
}
}
}