-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
51 lines (51 loc) · 1.27 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
{
"name": "tiagosampaio/data-object",
"description": "Object to handle data.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Tiago Sampaio",
"email": "tiago@tiagosampaio.com"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.0||^8.0"
},
"require-dev": {
"codacy/coverage": "dev-master",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.3"
},
"autoload": {
"psr-4": {
"TiagoSampaio\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TiagoSampaioTest\\": "dev/test/unit/TiagoSampaio"
}
},
"scripts": {
"make-dirs": [
"mkdir -p temp/coverage/html",
"mkdir -p temp/coverage/xml"
],
"phpunit": [
"@make-dirs",
"vendor/bin/phpunit -c dev/test/unit/phpunit.xml.dist dev/test/unit/ --coverage-html temp/coverage/html --coverage-clover temp/coverage/xml/codacy.xml"
],
"phpcs": [
"vendor/bin/phpcs --standard=PSR2 --severity=1 src"
],
"tests": [
"@phpunit",
"@phpcs"
],
"post-autoload-dump": [
"@tests"
]
}
}