forked from staysafe/password-policy-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 loc) · 1.45 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
{
"name": "staysafe/password-policy-builder",
"description": "A verbose password policy builder",
"type": "library",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Antonios Pavlakis",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"StaySafe\\Password\\Policy\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"StaySafe\\Password\\Policy\\Test\\": "tests/phpunit/"
}
},
"require": {
"php": "^7.2 || ^8.0",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^8.4"
},
"config": {
"bin-dir": "bin",
"sort-packages": true,
"preferred-install": {
"*": "dist"
}
},
"scripts": {
"pp": [
"@test",
"@check-style",
"@static-analysis"
],
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-html=tests/coverage/ ",
"test-coverage-ci": "phpunit --verbose --coverage-clover build/logs/clover.xml",
"check-style": "php-cs-fixer fix --dry-run",
"fix-style": "php-cs-fixer fix",
"static-analysis": "phpstan analyse src --level 7",
"test-ci": [
"@check-style",
"@test-coverage-ci"
]
}
}