feat: new v4 version (#5)
This commit is contained in:
@@ -3,39 +3,46 @@
|
||||
"description": "PHP Rut Value Object with validation utilities, doctrine type, and other cool features.",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"authors": [
|
||||
{
|
||||
"name": "Matias Navarro Carter",
|
||||
"email": "mnavarro@option.cl"
|
||||
"name": "Matias Navarro-Carter",
|
||||
"email": "mnavarrocarter@gmail.com",
|
||||
"role": "Lead Maintainer"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "stable",
|
||||
"require": {
|
||||
"php": "^7.4|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
"phpunit/phpunit": "^9.0",
|
||||
"doctrine/dbal": "^2.10.1|^3.0",
|
||||
"symfony/var-dumper": "^5.1",
|
||||
"vimeo/psalm": "^4.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"MNC\\ChileanRut\\": "src/"
|
||||
"MNC\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"MNC\\ChileanRut\\": "tests"
|
||||
"MNC\\": "tests"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^10.5",
|
||||
"friendsofphp/php-cs-fixer": "^3.49",
|
||||
"vimeo/psalm": "^5.22",
|
||||
"doctrine/dbal": "^2.10.1|^3.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "php-cs-fixer fix --allow-risky=yes",
|
||||
"pr": [
|
||||
"php-cs-fixer fix --dry-run -vvv",
|
||||
"phpunit --testdox --coverage-text",
|
||||
"psalm --stats"
|
||||
]
|
||||
"pr": ["@fmt", "@psalm", "@test"],
|
||||
"ci": ["@fmt:check", "@psalm:gh", "@test"],
|
||||
"fmt": "php-cs-fixer fix --diff --ansi",
|
||||
"fmt:check": "php-cs-fixer fix --dry-run --diff --ansi",
|
||||
"test": ["phpunit --colors"],
|
||||
"test:unit": "phpunit --colors --exclude-group=integration --exclude-group=e2e",
|
||||
"test:e2e": "phpunit --colors --group=e2e",
|
||||
"test:integration": "phpunit --colors --group=integration",
|
||||
"psalm": "psalm --no-cache --threads=5 --use-baseline",
|
||||
"psalm:gh": "psalm --no-cache --threads=5 --long-progress --output-format=github --use-baseline",
|
||||
"psalm:fix": "psalm --update-baseline",
|
||||
"psalm:allow": "psalm --set-baseline=psalm-baseline.xml"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user