-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
83 lines (83 loc) · 2.37 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
{
"name": "remorhaz/php-json-pointer",
"description": "JSON Pointer (RFC-6901) PHP implementation",
"keywords": [
"json",
"json pointer",
"RFC6901",
"rfc-6901"
],
"homepage": "https://github.com/remorhaz/php-json-pointer",
"license": "MIT",
"authors": [
{
"name": "Edward Surov",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"remorhaz/php-json-data": "^0.7",
"remorhaz/php-unilex": "^0.5.3"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^10.1 || ^11"
},
"autoload": {
"psr-4": {
"Remorhaz\\JSON\\Pointer\\": [
"src/",
"generated/"
]
}
},
"autoload-dev": {
"psr-4": {
"Remorhaz\\JSON\\Pointer\\Test\\": "tests/"
}
},
"suggest": {
"remorhaz/php-json-patch": "Uses JSON Pointers to implement the declarative way of altering JSON data (RFC-6902)"
},
"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=\"JSON Pointer token matcher.\" spec/LexerSpec.php generated/TokenMatcher.php",
"vendor/bin/unilex build-lookup-table --type=LL_1 --symbol=Remorhaz\\\\JSON\\\\Pointer\\\\Parser\\\\SymbolType --token=Remorhaz\\\\JSON\\\\Pointer\\\\Parser\\\\TokenType --desc=\"JSON Pointer 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-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml"
],
"test": [
"@test-cs",
"@test-unit"
],
"infection": [
"@test-unit",
"mkdir -p ./build/logs",
"tools/infection --coverage=build/logs --threads=4 --no-progress --skip-initial-tests"
]
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"forward-command": true
}
}
}