Skip to content
Snippets Groups Projects
Select Git revision
  • 65c115afa2e7f34d9e4ebdfb569f96ea694f6577
  • main default protected
  • devel
  • 1.1.0
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
9 results

composer.json

Blame
  • This project manages its dependencies using Composer. Learn more
    composer.json 1.25 KiB
    {
        "name": "wpdesk/wp-migrations",
        "type": "library",
    	"description": "Doctrine Migrations clone suited for WordPress purposes.",
    	"license": "MIT",
        "authors": [
            {
                "name": "Bart Jaskulski",
                "email": "bartek.jaskulski@wpdesk.net"
            }
        ],
        "require": {
    		"php": "^7.1|^8",
            "ext-json": "*",
            "psr/log": "^1"
        },
        "autoload": {
            "psr-4": {
                "WPDesk\\Migrations\\": "src"
            }
        },
    	"autoload-dev": {
    		"psr-4": {
    			"WPDesk\\Migrations\\Tests\\": "tests"
    		},
    		"classmap": [
    			"tests/stubs"
    		]
    	},
        "require-dev": {
            "szepeviktor/phpstan-wordpress": "^1.1",
            "wpdesk/wp-code-sniffer": "^1.2",
            "phpstan/phpstan": "^1.10",
            "phpstan/extension-installer": "^1.3"
        },
    	"scripts": {
    		"style:fix": "phpcbf",
    		"test:phpstan": "phpstan --configuration=phpstan.neon.dist --memory-limit=-1 analyze",
    		"test:phpcs": "phpcs",
    		"test:phpunit": "./tools/phpunit --bootstrap tests/bootstrap.php tests",
    		"test": [
    			"@test:phpcs",
    			"@test:phpstan",
    			"@test:phpunit"
    		]
    	},
        "config": {
            "allow-plugins": {
                "dealerdirect/phpcodesniffer-composer-installer": true,
                "phpstan/extension-installer": true
            }
        }
    }