{
    "name": "rollbar/rollbar-php-wordpress",
    "description": "WordPress plugin for Rollbar",
    "type": "wordpress-plugin",
    "require": {
        "rollbar/rollbar": "^1",
        "phpunit/phpunit": "4.8.*",
        "michelf/php-markdown": "*"
    },
    "license": "GNU GPL",
    "authors": [
        {
            "name": "flowdee",
            "email": "hello@flowdee.de"
        },
        {
            "name": "Artur Moczulski",
            "email": "artur.moczulski@gmail.com"
        },
        {
          "name": "Rollbar, Inc.",
          "email": "support@rollbar.com",
          "role": "Developer"
        }
    ],

    "support": {
        "email": "support@rollbar.com"
    },

    "autoload": {
      "psr-4": {
        "Rollbar\\Wordpress\\": "src/",
        "Rollbar\\Wordpress\\Tests\\": "tests/"
      }
    },
    "extra": {
        "scripts-description": {
            "test": "Run all tests. Make sure that local Mysql server is running."
        }
     },
    "scripts": {
        "test": [
            "@pre-test",
            "phpunit --coverage-clover build/logs/clover.xml"
        ],
        "pre-test": [
            "export $(cat phpunit.env | xargs) && bash bin/install-wp-tests.sh $WP_TEST_DB $WP_TEST_USER \"$WP_TEST_PASS\" $WP_TEST_HOST $WP_VERSION || true"
        ]
    }
}
