{
    "name": "elula/wschat",
    "description": "A Chat plugin for Wordpress",
    "type": "wordpress-plugin",
    "authors": [
        {
            "name": "Mohan Raj",
            "email": "mohanraj@elula.tech"
        }
    ],
    "require": {
        "php": ">=7.1",
        "illuminate/support": "^5.0",
        "sinergi/browser-detector": "^6.1",
        "symfony/translation": "^3.4 || ^4.0",
        "symfony/translation-contracts": "^1.1.6",
        "pusher/pusher-php-server": "3.1.1",
        "symfony/polyfill-mbstring": "v1.20.0"
    },
    "autoload": {
        "files": [
            "src/wp-fluent/autoload.php"
        ],
    	"psr-4": {
    		"WSChat\\": "src/"
    	}
    },
    "require-dev": {
        "woocommerce/woocommerce-sniffs": "^0.1.0",
        "woocommerce/woocommerce-git-hooks": "^1.0",
        "phpunit/phpunit": "^7.5"
    },
    "scripts": {
        "pre-update-cmd": [
          "WooCommerce\\GitHooks\\Hooks::preHooks"
        ],
        "pre-install-cmd": [
          "WooCommerce\\GitHooks\\Hooks::preHooks"
        ],
        "post-install-cmd": [
          "WooCommerce\\GitHooks\\Hooks::postHooks"
        ],
        "post-update-cmd": [
          "WooCommerce\\GitHooks\\Hooks::postHooks"
        ],
        "phpcs": [
          "phpcs --warning-severity=0 -s --ignore-annotations --extensions=php,html ."
        ],
        "phpcbf": [
          "phpcbf --warning-severity=0 -s --ignore-annotations --extensions=php,html ."
         ]
    },
    "extra": {
        "scripts-description": {
          "test": "Run unit tests",
          "phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
          "phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
        }
  },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}
