generated from guillermoandrae/php-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
54 lines (54 loc) · 1.66 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
{
"name": "guillermoandrae/coronavirus-reporter",
"description": "A small PHP tool that scrapes and outputs data about COVID-19 in select states.",
"license": "MIT",
"require": {
"php": "^7.2",
"ext-json": "^1.6",
"cache/filesystem-adapter": "^1.0",
"aws/aws-sdk-php": "^3.133",
"mnapoli/bref": "^0.3.9",
"league/flysystem-aws-s3-v3": "^1.0"
},
"autoload": {
"psr-4": {
"Guillermoandrae\\Coronavirus\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "^8.1",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload-dev": {
"psr-4": {
"GuillermoandraeTest\\Coronavirus\\": "tests/"
}
},
"scripts": {
"check-style": [
"phpcbf --standard=PSR2 --extensions=php src tests",
"phpcs --standard=PSR2 --extensions=php src tests"
],
"test": [
"@check-style",
"phpunit --coverage-text --coverage-clover=./clover.xml"
],
"test-html": [
"@check-style",
"phpunit --coverage-text --coverage-html report",
"php -S localhost:8080 -t report/ > report/phpd.log 2>&1"
],
"flush": [
"rm -rf cache/*.cache"
],
"invoke": [
"sam local invoke --no-event"
],
"package": [
"sam package --output-template-file .stack.yaml --s3-bucket coronavirus-reporter --s3-prefix stacks"
],
"deploy": [
"sam deploy --template-file .stack.yaml --capabilities CAPABILITY_IAM --stack-name coronavirus-reporter"
]
}
}