siment/magento2-http-header-theme-switch

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "siment/module-http-header-theme-switch",
    "description": "Magento 2 module that enables automatic theme switching based on the X-UA-Device HTTP header. (Or any other header)",
    "type": "magento2-module",
    "license": "AFL-3.0",
    "authors": [
        {
            "name": "Simen Thorsrud",
            "email": "simen.thorsrud@gmail.com"
        }
    ],
    "require": {
        "magento/framework": "~100.1.0",
        "magento/module-store": "~100.1.0"
    },
    "require-dev": {
        "magento/marketplace-eqp": "~1.0",
        "phpunit/phpunit": "~5.0.0",
        "phpmd/phpmd": "~2.6"
    },
    "autoload": {
        "files": ["registration.php"],
        "psr-4": {
            "Siment\\HttpHeaderThemeSwitch\\": "src/"
        }
    },
    "scripts": {
        "post-install-cmd": [
            "vendor/bin/phpcs --config-set default_standard MEQP2",
            "vendor/bin/phpcs --config-set installed_paths \"$(pwd)/vendor/magento/marketplace-eqp\""
        ]
    },
    "repositories": {
        "magento": {
            "type": "composer",
            "url": "https://repo.magento.com/"
        }
    }
}