-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
36 lines (36 loc) · 1018 Bytes
/
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
{
"name": "mckayb/phantasy-types",
"description": "Sum Types and Product Types in PHP",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "McKay Broderick",
"email": "[email protected]",
"homepage": "https://github.com/mckayb/phantasy-types"
}
],
"require": {
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.4",
"php-coveralls/php-coveralls": "^2.1"
},
"autoload": {
"psr-4": {
"Phantasy\\Types\\": "src/"
},
"files": [
"src/functions.php"
]
},
"scripts": {
"test": "phpunit",
"lint": "phpcs --standard=./ruleset.xml ./src ./test",
"lint-fix": "phpcbf --standard=./ruleset.xml ./src ./test",
"coverage": "phpunit --coverage-clover build/logs/clover.xml --coverage-html build/html",
"upload-coverage": "php-coveralls -v"
}
}