{
	"name": "bordoni/integration-workos",
	"description": "Enterprise identity management for WordPress powered by WorkOS.",
	"type": "wordpress-plugin",
	"license": "GPL-2.0-or-later",
	"authors": [
		{
			"name": "Gustavo Bordoni",
			"homepage": "https://github.com/bordoni"
		}
	],
	"require": {
		"php": ">=7.4",
		"lucatume/di52": "^4.0",
		"stellarwp/arrays": "^1.3",
		"stellarwp/container-contract": "^1.1",
		"stellarwp/superglobals": "^2.0"
	},
	"require-dev": {
		"brianhenryie/strauss": "^0.19.2",
		"codeception/module-asserts": "^3.0",
		"codeception/module-cli": "^2.0",
		"codeception/module-db": "^3.0",
		"codeception/module-filesystem": "^3.0",
		"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
		"lucatume/wp-browser": "^4.5",
		"php-stubs/wp-cli-stubs": "^2.11",
		"phpcompatibility/phpcompatibility-wp": "^2.1",
		"phpstan/extension-installer": "^1.4",
		"phpstan/phpstan": "^2.0",
		"squizlabs/php_codesniffer": "^3.8",
		"szepeviktor/phpstan-wordpress": "^2.0",
		"wp-coding-standards/wpcs": "^3.0"
	},
	"autoload": {
		"psr-4": {
			"WorkOS\\": "src/WorkOS/"
		},
		"files": ["vendor/prefixed/autoload.php"]
	},
	"config": {
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"phpstan/extension-installer": true
		},
		"sort-packages": true
	},
	"scripts": {
		"test:wpunit": "vendor/bin/codecept run wpunit",
		"lint": "phpcs",
		"lint:fix": "phpcbf",
		"phpstan": "phpstan analyse --memory-limit=1G",
		"phpstan:baseline": "phpstan analyse --memory-limit=1G --generate-baseline",
		"strauss-install": [
			"test -f ./bin/strauss.phar || (mkdir -p bin && curl -o bin/strauss.phar -L https://github.com/BrianHenryIE/strauss/releases/download/0.26.5/strauss.phar)"
		],
		"strauss": [
			"@strauss-install",
			"@php bin/strauss.phar",
			"@composer dump-autoload"
		],
		"post-install-cmd": ["@strauss"],
		"post-update-cmd": ["@strauss"]
	},
	"extra": {
		"strauss": {
			"target_directory": "vendor/prefixed",
			"classmap_prefix": "WorkOS_",
			"constant_prefix": "WORKOS_VENDOR_",
			"namespace_prefix": "WorkOS\\Vendor\\",
			"packages": [
				"lucatume/di52",
				"stellarwp/arrays",
				"stellarwp/container-contract",
				"stellarwp/superglobals"
			],
			"exclude_from_copy": {
				"file_patterns": [
					"/^tests\\//", "/^test\\//", "/^Test\\//",
					"/^examples\\//", "/^docs\\//", "/^bin\\//",
					"/\\.md$/", "/^phpunit/", "/^phpcs/",
					"/^\\.git/", "/^Makefile/"
				]
			},
			"delete_vendor_packages": true
		}
	}
}
