-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
56 lines (56 loc) · 1.48 KB
/
Copy pathcomposer.json
File metadata and controls
56 lines (56 loc) · 1.48 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
{
"name": "bunches/postcode",
"description": "A PHP package for handling and formatting UK postcodes.",
"keywords": [
"postcode"
],
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Bunches",
"email": "it@bunches.co.uk",
"homepage": "https://www.bunches.co.uk",
"role": "Developer"
}
],
"homepage": "https://github.com/bunches/postcode",
"autoload": {
"psr-4": {
"Bunches\\": "src/Bunches/"
}
},
"autoload-dev": {
"psr-4": {
"Bunches\\Tests\\": "tests/Bunches/"
}
},
"require": {
"php": "^8.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"phpunit/phpunit": "^12.1",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "*"
},
"scripts": {
"test": [
"@phpunit:coverage",
"@phpcs"
],
"phpunit": "vendor/bin/phpunit -c phpunit.xml",
"phpunit:debug": "vendor/bin/phpunit --stop-on-failure -c phpunit.xml",
"phpunit:coverage": "vendor/bin/phpunit -c phpunit.xml --coverage-html ./coverage --coverage-text",
"phpunit:ci": "vendor/bin/phpunit -c phpunit.xml --coverage-text",
"phpcs": "vendor/bin/php-cs-fixer fix --allow-risky=yes && vendor/bin/phpcs --standard=phpcs.xml",
"phpcs:ci": "vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run && vendor/bin/phpcs --standard=phpcs.xml"
},
"config": {
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
}
}