composer.json
{
"name": "amercier/rectangular-mozaic",
"description": "Rectangular mozaic generator library",
"type": "library",
"license": "ISC",
"authors": [
{
"name": "Alex Mercier",
"email": "pro.alexandre.mercier@gmail.com"
}
],
"scripts": {
"lint": "phpcs --standard=PSR12 --extensions=php --ignore=./coverage,./vendor .",
"test": "phpunit --bootstrap vendor/autoload.php --whitelist ./src --coverage-clover=coverage/clover.xml --coverage-html=coverage/ --coverage-text --colors=always tests",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"start": [
"echo Serving demo/ directory at http://localhost:8000/",
"php -S localhost:8000 -t demo/"
]
},
"extra": {
"hooks": {
"pre-commit": "composer lint"
}
},
"require": {
"myclabs/php-enum": "^1.6"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.3",
"brainmaestro/composer-git-hooks": "^2.5",
"phpunit/phpunit": "^7.3"
},
"autoload": {
"psr-4": {
"RectangularMozaic\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RectangularMozaic\\Tests\\": "tests/"
}
},
"config": {
"process-timeout": 0
}
}