44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "belevo/enelix-ems",
|
|
"description": "Energiemanagement und steuerbare Verbraucher fuer IP-Symcon",
|
|
"type": "library",
|
|
"license": "proprietary",
|
|
"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",
|
|
"lint:verbraucher-einstufig": "find VerbraucherEinStufig libs/EinStufigRegler.php tests/VerbraucherEinStufig -name '*.php' -print0 | xargs -0 -n1 php -l",
|
|
"test": "phpunit",
|
|
"test:verbraucher-einstufig": "phpunit --configuration phpunit.verbraucher-einstufig.xml",
|
|
"symcon:all": "bash tests/Symcon/bin/run-symcon-tests.sh all",
|
|
"symcon:single": "bash tests/Symcon/bin/run-symcon-tests.sh single",
|
|
"symcon:affected": "bash tests/Symcon/bin/run-symcon-tests.sh affected",
|
|
"check": [
|
|
"@lint",
|
|
"@test"
|
|
],
|
|
"check:verbraucher-einstufig": [
|
|
"@lint:verbraucher-einstufig",
|
|
"@test:verbraucher-einstufig"
|
|
]
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
}
|
|
}
|
|
|