{
   "name": "manton/jsonfeed-wp",
     "description": "JSON Feed for WordPress",
     "type": "wordpress-plugin",
     "license": "GPLv2 or later",
     "support": {
	     "issues": "https://github.com/manton/jsonfeed-wp/issues",
	     "source": "https://github.com/manton/jsonfeed-wp"
     },
     "extra": {
		"installer-name": "jsonfeed"
     },
    "config": {
    	"allow-plugins": {
        	"composer/installers": true,
	        "dealerdirect/phpcodesniffer-composer-installer": true
    	}
    },
    "require": {
	"php": ">=5.6.0",
	"composer/installers": "~1.12"
    },
    "require-dev": {
        "dealerdirect/phpcodesniffer-composer-installer": "*",
	"squizlabs/php_codesniffer": "*",
        "phpcompatibility/php-compatibility": "*",
        "wp-coding-standards/wpcs": "*",
        "wpreadme2markdown/wp2md": "*",
        "phpcompatibility/phpcompatibility-wp": "*",
        "php-parallel-lint/php-parallel-lint": "^1.2",
        "sebastian/phpcpd": "^3.0 || ^5.0 || ^6.0"
    },
    "prefer-stable" : true,
    "scripts": {
	"lint:phpcpd": "./vendor/bin/phpcpd --fuzzy --exclude .git --exclude vendor .",
        "lint:wpcs": "./vendor/bin/phpcs -s --runtime-set ignore_warnings_on_exit 1",
        "lint:wpcs-fix": "./vendor/bin/phpcbf",
	"lint": "./vendor/bin/phpcs -n -q",
	"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor .",
	"install-codestandards": [
		"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
	],
	"update-readme": [
		"wp2md -i readme.txt | tail -n +10 > README.md"
	],
	"post-update-cmd": [
		"@update-readme"
	]
    }
}
