-
Notifications
You must be signed in to change notification settings - Fork 23
/
composer.json
93 lines (93 loc) · 2.85 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "phpcfdi/cfditopdf",
"description": "Create a generic PDF file from a CFDI 3.3 & 4.0 (CLI included)",
"license": "MIT",
"keywords": [
"cfdi",
"mexico",
"invoice",
"pdf",
"factura"
],
"authors": [
{
"name": "Carlos C Soto",
"email": "eclipxe13@gmail.com",
"homepage": "https://eclipxe.com.mx/"
}
],
"homepage": "https://github.com/phpcfdi/cfditopdf",
"support": {
"issues": "https://github.com/phpcfdi/cfditopdf/issues",
"source": "https://github.com/phpcfdi/cfditopdf"
},
"require": {
"php": ">=7.3",
"eclipxe/cfdiutils": "^2.29",
"league/plates": "^3.5",
"phpcfdi/cfdi-cleaner": "^1.3.3",
"spipu/html2pdf": "^5.2.8"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
"PhpCfdi\\CfdiToPdf\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpCfdi\\CfdiToPdf\\Tests\\": "tests/"
}
},
"bin": [
"bin/cfditopdf"
],
"extra": {
"phar-builder": {
"compression": "GZip",
"entry-point": "bin/cfditopdf",
"include": [
"bin",
"src",
"templates"
],
"include-dev": false,
"name": "cfditopdf.phar",
"output-dir": "build/",
"skip-shebang": false
}
},
"scripts": {
"dev:build": [
"@dev:fix-style",
"@dev:test"
],
"dev:check-style": [
"@php tools/composer-normalize normalize --dry-run",
"@php tools/php-cs-fixer fix --dry-run --verbose",
"@php tools/phpcs --colors -sp"
],
"dev:coverage": [
"@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --testdox --coverage-html build/coverage/html/"
],
"dev:fix-style": [
"@php tools/composer-normalize normalize",
"@php tools/php-cs-fixer fix --verbose",
"@php tools/phpcbf --colors -sp"
],
"dev:test": [
"@dev:check-style",
"@php vendor/bin/phpunit --testdox --verbose --stop-on-failure",
"@php tools/phpstan analyse --no-progress"
]
},
"scripts-descriptions": {
"dev:build": "DEV: run dev:fix-style dev:tests and dev:docs, run before pull request",
"dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs",
"dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/",
"dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf",
"dev:test": "DEV: run phpunit and phpstan"
}
}