|
1 | 1 | {
|
2 | 2 | "name": "phpcfdi/credentials",
|
3 | 3 | "description": "Library to use eFirma (fiel) and CSD (sellos) from SAT",
|
4 |
| - "keywords": ["efirma", "fiel", "sat", "cfdi", "sello", "certificado"], |
5 |
| - "homepage": "https://github.com/phpcfdi/credentials", |
6 | 4 | "license": "MIT",
|
| 5 | + "keywords": [ |
| 6 | + "efirma", |
| 7 | + "fiel", |
| 8 | + "sat", |
| 9 | + "cfdi", |
| 10 | + "sello", |
| 11 | + "certificado" |
| 12 | + ], |
7 | 13 | "authors": [
|
8 | 14 | {
|
9 | 15 | "name": "Carlos C Soto",
|
10 | 16 |
|
11 | 17 | }
|
12 | 18 | ],
|
| 19 | + "homepage": "https://github.com/phpcfdi/credentials", |
13 | 20 | "support": {
|
14 |
| - "source": "https://github.com/phpcfdi/credentials", |
15 |
| - "issues": "https://github.com/phpcfdi/credentials/issues" |
16 |
| - }, |
17 |
| - "prefer-stable": true, |
18 |
| - "config": { |
19 |
| - "optimize-autoloader": true, |
20 |
| - "preferred-install": { |
21 |
| - "*": "dist" |
22 |
| - } |
| 21 | + "issues": "https://github.com/phpcfdi/credentials/issues", |
| 22 | + "source": "https://github.com/phpcfdi/credentials" |
23 | 23 | },
|
24 | 24 | "require": {
|
25 | 25 | "php": ">=7.3",
|
|
31 | 31 | "ext-json": "*",
|
32 | 32 | "phpunit/phpunit": "^9.5"
|
33 | 33 | },
|
| 34 | + "prefer-stable": true, |
34 | 35 | "autoload": {
|
35 | 36 | "psr-4": {
|
36 | 37 | "PhpCfdi\\Credentials\\": "src/"
|
|
41 | 42 | "PhpCfdi\\Credentials\\Tests\\": "tests/"
|
42 | 43 | }
|
43 | 44 | },
|
| 45 | + "config": { |
| 46 | + "optimize-autoloader": true, |
| 47 | + "preferred-install": { |
| 48 | + "*": "dist" |
| 49 | + } |
| 50 | + }, |
44 | 51 | "scripts": {
|
45 |
| - "dev:build": ["@dev:fix-style", "@dev:test"], |
| 52 | + "dev:build": [ |
| 53 | + "@dev:fix-style", |
| 54 | + "@dev:check-style", |
| 55 | + "@dev:test" |
| 56 | + ], |
46 | 57 | "dev:check-style": [
|
| 58 | + "@php tools/composer-normalize normalize --dry-run", |
47 | 59 | "@php tools/php-cs-fixer fix --dry-run --verbose",
|
48 | 60 | "@php tools/phpcs --colors -sp"
|
49 | 61 | ],
|
| 62 | + "dev:coverage": [ |
| 63 | + "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --verbose --coverage-html build/coverage/html/" |
| 64 | + ], |
50 | 65 | "dev:fix-style": [
|
| 66 | + "@php tools/composer-normalize normalize", |
51 | 67 | "@php tools/php-cs-fixer fix --verbose",
|
52 | 68 | "@php tools/phpcbf --colors -sp"
|
53 | 69 | ],
|
54 | 70 | "dev:test": [
|
55 |
| - "@dev:check-style", |
56 | 71 | "@php vendor/bin/phpunit --testdox --verbose --stop-on-failure",
|
57 |
| - "@php tools/phpstan analyse --no-progress" |
58 |
| - ], |
59 |
| - "dev:coverage": [ |
60 |
| - "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --verbose --coverage-html build/coverage/html/" |
| 72 | + "@php tools/phpstan analyse --no-progress --verbose" |
61 | 73 | ]
|
62 | 74 | },
|
63 | 75 | "scripts-descriptions": {
|
64 |
| - "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request", |
65 |
| - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", |
66 |
| - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", |
67 |
| - "dev:test": "DEV: run dev:check-style, phpunit and phpstan", |
68 |
| - "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" |
| 76 | + "dev:build": "DEV: run dev:fix-style dev:check-style and dev:tests, run before pull request", |
| 77 | + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", |
| 78 | + "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", |
| 79 | + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", |
| 80 | + "dev:test": "DEV: run phpunit and phpstan" |
69 | 81 | }
|
70 | 82 | }
|
0 commit comments