diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..dd2af8a --- /dev/null +++ b/composer.json @@ -0,0 +1,33 @@ +{ + "name": "belevo/enelix-ems", + "description": "Energiemanagement und steuerbare Verbraucher fuer IP-Symcon", + "type": "library", + "require": { + "php": ">=8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.6" + }, + "autoload": { + "psr-4": { + "Belevo\\EnelixEMS\\": "libs/" + } + }, + "autoload-dev": { + "psr-4": { + "Belevo\\EnelixEMS\\Tests\\": "tests/" + } + }, + "scripts": { + "lint": "find . -path ./vendor -prune -o -name '*.php' -print0 | xargs -0 -n1 php -l", + "test": "phpunit", + "check": [ + "@lint", + "@test" + ] + }, + "config": { + "sort-packages": true + } +} +