-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathcomposer.json
57 lines (57 loc) · 1.88 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
{
"name": "rbdwllr/reallysimplejwt",
"type": "library",
"description": "A really simple library to generate user authentication JSON Web Tokens.",
"keywords": ["jwt", "json", "tokens", "authentication", "json web tokens", "php"],
"license": "MIT",
"authors": [
{
"name": "Rob Waller",
"email": "rdwaller1984@gmail.com"
}
],
"require": {
"php": ">=8.0.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.2",
"phpmd/phpmd": "^2.11",
"squizlabs/php_codesniffer": "^3.6",
"infection/infection": "^0.26",
"phploc/phploc": "^7.0",
"sebastian/phpcpd": "^6.0",
"phpbench/phpbench": "^1.2",
"friendsofphp/php-cs-fixer": "^2.19"
},
"autoload": {
"psr-4": {
"ReallySimpleJWT\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/",
"Benchmarks\\": "benchmarks/"
}
},
"scripts" : {
"pipeline": [
"vendor/bin/phpcs --standard=psr12 src/ tests/ benchmarks/",
"vendor/bin/php-cs-fixer fix --dry-run -v --diff --using-cache=no --allow-risky=yes",
"vendor/bin/phpstan analyse -l 8 src/ tests/ benchmarks/",
"vendor/bin/phpmd src/ text ruleset.xml",
"vendor/bin/phpunit --testsuite unit --coverage-clover=coverage.xml --log-junit test-report.xml",
"vendor/bin/phpunit --testsuite integration",
"vendor/bin/infection -s --min-msi=90 --threads=2",
"vendor/bin/phpcpd --min-lines=2 --min-tokens=35 src/",
"vendor/bin/phpbench run benchmarks/ReallySimpleJWTBench.php --report=aggregate",
"vendor/bin/phploc src/"
]
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}