From 88fbe39f87a3df56414c4859d1ff4aec558bcb65 Mon Sep 17 00:00:00 2001 From: literat Date: Wed, 24 Jul 2024 17:00:15 +0200 Subject: [PATCH] Fix(web-twig): Add unintentionally removed content of the composer.json --- packages/web-twig/composer.json | 79 +++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/packages/web-twig/composer.json b/packages/web-twig/composer.json index e69de29bb2..9c971d0e65 100644 --- a/packages/web-twig/composer.json +++ b/packages/web-twig/composer.json @@ -0,0 +1,79 @@ +{ + "name": "lmc/spirit-web-twig-bundle", + "description": "This is Symfony bundle with twig implementation of the Spirit Design System components and extends the twig implementation with an HTML-like syntax.", + "license": "MIT", + "type": "symfony-bundle", + "version": "3.3.0", + "authors": [ + { + "name": "LMC, s.r.o." + } + ], + "require": { + "php": "^8.1", + "ext-simplexml": "*", + "lmc/twigx-bundle": "^3.3", + "symfony/config": "^4.4 || ^5.4 || ^6.1", + "symfony/dependency-injection": "^4.4 || ^5.4 || ^6.1", + "symfony/http-foundation": "^4.4 || ^5.4 || ^6.1", + "symfony/http-kernel": "^4.4 || ^5.4 || ^6.1", + "symfony/polyfill-php80": "^1.23", + "twig/twig": "^2.12.5 || ^3.0.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.42", + "lmc/coding-standard": "^4.1", + "mockery/mockery": "^1.5", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.2", + "phpstan/phpstan-mockery": "^1.0", + "phpstan/phpstan-symfony": "^1.0", + "phpunit/phpunit": "^9", + "spatie/phpunit-snapshot-assertions": "^4.2.12", + "symfony/yaml": "^4.4 || ^5.4 || ^6.1" + }, + "autoload": { + "psr-4": { + "Lmc\\SpiritWebTwigBundle\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Lmc\\SpiritWebTwigBundle\\": "tests/" + } + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true, + "ergebnis/composer-normalize": true, + "phpstan/extension-installer": true, + "symfony/flex": true, + "symfony/runtime": true + } + }, + "scripts": { + "analyze": [ + "@ecs", + "@phpstan" + ], + "ecs": "vendor/bin/ecs check --no-progress-bar --ansi ", + "ecs:fix": "vendor/bin/ecs check --no-progress-bar --ansi --fix", + "lint": [ + "@composer validate --no-check-all --no-check-publish", + "@composer normalize --dry-run" + ], + "lint:fix": [ + "@composer normalize" + ], + "phpstan": "vendor/bin/phpstan analyze", + "phpunit": "vendor/bin/phpunit", + "phpunit:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit", + "phpunit:update": "vendor/bin/phpunit -d --update-snapshots", + "test": [ + "@lint", + "@ecs", + "@phpunit", + "@phpstan" + ] + } +}