grafana -> notification-provider -> mattermost | see https://gitlab.fedy95.com/dev/notification-provider
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
5.2 KiB
127 lines
5.2 KiB
{
|
|
"name": "dev/notification-provider",
|
|
"type": "project",
|
|
"description": "notification-provider",
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": "8.0.*",
|
|
"ext-ctype": "8.0.*",
|
|
"ext-iconv": "8.0.*",
|
|
"doctrine/annotations": "^1.13",
|
|
"guzzlehttp/guzzle": "^7.3",
|
|
"nelmio/api-doc-bundle": "^4.6",
|
|
"symfony/asset": "5.3.*",
|
|
"symfony/console": "5.3.*",
|
|
"symfony/dotenv": "5.3.*",
|
|
"symfony/flex": "^1.16",
|
|
"symfony/framework-bundle": "5.3.*",
|
|
"symfony/runtime": "5.3.*",
|
|
"symfony/twig-bundle": "5.3.*",
|
|
"symfony/yaml": "5.3.*",
|
|
"twig/extra-bundle": "^2.12 || ^3.0",
|
|
"twig/twig": "^2.12 || ^3.0"
|
|
},
|
|
"replace": {
|
|
"symfony/polyfill-ctype": "*",
|
|
"symfony/polyfill-iconv": "*",
|
|
"symfony/polyfill-php72": "*"
|
|
},
|
|
"conflict": {
|
|
"symfony/symfony": "*"
|
|
},
|
|
"require-dev": {
|
|
"ext-xdebug": "3.*",
|
|
"ergebnis/composer-normalize": "^2.13",
|
|
"fakerphp/faker": "^1.0",
|
|
"friendsofphp/php-cs-fixer": "^3.1",
|
|
"php-parallel-lint/php-parallel-lint": "1.3.*",
|
|
"phpunit/phpunit": "^9.5",
|
|
"roave/security-advisories": "dev-latest",
|
|
"symfony/browser-kit": "5.3.*",
|
|
"symfony/css-selector": "5.3.*",
|
|
"symfony/phpunit-bridge": "^5.3",
|
|
"symfony/stopwatch": "5.3.*",
|
|
"symfony/web-profiler-bundle": "5.3.*"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": {
|
|
"*": "dist"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"symfony": {
|
|
"allow-contrib": false,
|
|
"require": "5.3.*"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"App\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"@auto-scripts"
|
|
],
|
|
"post-update-cmd": [
|
|
"@auto-scripts"
|
|
],
|
|
"auto-scripts": {
|
|
"cache:clear": "symfony-cmd",
|
|
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
|
},
|
|
"json-cs-fix": "composer normalize",
|
|
"lint:php": [
|
|
"parallel-lint --no-progress --no-colors --blame ./bin/console",
|
|
"parallel-lint --no-progress --no-colors --blame ./config/bundles.php",
|
|
"parallel-lint --no-progress --no-colors --blame ./config/preload.php",
|
|
"parallel-lint --no-progress --no-colors --blame ./public/index.php",
|
|
"parallel-lint --no-progress --no-colors --blame ./src",
|
|
"parallel-lint --no-progress --no-colors --blame ./tests/bootstrap.php",
|
|
"parallel-lint --no-progress --no-colors --blame .php-cs-fixer.php"
|
|
],
|
|
"lint:yaml": [
|
|
"bin/console --quiet --no-debug l:yaml ./config/packages",
|
|
"bin/console --quiet --no-debug l:yaml ./config/routes",
|
|
"bin/console --quiet --no-debug l:yaml ./config/routes.yaml",
|
|
"bin/console --quiet --no-debug l:yaml ./config/services.yaml"
|
|
],
|
|
"php-cs-check": [
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache bin/console",
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache config/bundles.php",
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache config/preload.php",
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache public/index.php",
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache src",
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache tests/bootstrap.php",
|
|
"php vendor/bin/php-cs-fixer fix --dry-run --cache-file=var/php-cs-fixer/.php-cs.cache .php-cs-fixer.php"
|
|
],
|
|
"php-cs-fix": [
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache bin/console",
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache config/bundles.php",
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache config/preload.php",
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache public/index.php",
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache src",
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/bootstrap.php",
|
|
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache .php-cs-fixer.php"
|
|
],
|
|
"test": [
|
|
"@php ./vendor/bin/phpunit --coverage-html tests/_coverage --coverage-text"
|
|
],
|
|
"test:unit": [
|
|
"@php ./vendor/bin/phpunit --coverage-html tests/_coverage --coverage-text --colors=never"
|
|
],
|
|
"validate:composer": {
|
|
"check:platform": "@composer check-platform-reqs",
|
|
"validate": "@composer validate --strict"
|
|
}
|
|
}
|
|
}
|