{
	"name": "pronamic/wp-number",
	"description": "WordPress Number library.",
	"keywords": ["wordpress", "number", "i18n", "float", "int", "double", "calculator"],
	"license": "GPL-2.0-or-later",
	"type": "wordpress-plugin",
	"authors": [
		{
			"name": "Pronamic",
			"email": "info@pronamic.eu",
			"homepage": "https://www.pronamic.eu/",
			"role": "Company"
		},
		{
			"name": "Remco Tolsma",
			"email": "info@remcotolsma.nl",
			"homepage": "https://www.remcotolsma.nl/",
			"role": "Developer"
		}
	],
	"autoload": {
		"psr-4": {
			"Pronamic\\WordPress\\Number\\": "src"
		}
	},
	"autoload-dev": {
		"psr-4": {
			"Pronamic\\WordPress\\Number\\": "tests\\src"
		}
	},
	"config": {
		"sort-packages": true,
		"allow-plugins": {
			"koodimonni/composer-dropin-installer": true,
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"roots/wordpress-core-installer": true,
			"bamarni/composer-bin-plugin": true
		},
		"wp-slug": "wp-number"
	},
	"repositories": [
		{
			"type": "composer",
			"url": "https://wp-languages.github.io"
		}
	],
	"require": {
		"php": ">=7.4"
	},
	"require-dev": {
		"bamarni/composer-bin-plugin": "^1.4",
		"koodimonni-language/core-de_de": "*",
		"koodimonni-language/core-fr_fr": "*",
		"koodimonni-language/core-nl_nl": "*",
		"overtrue/phplint": "^4.5",
		"php-coveralls/php-coveralls": "^2.5",
		"phpmd/phpmd": "^2.13",
		"phpstan/phpstan": "^1.11",
		"pronamic/pronamic-cli": "^1.1",
		"pronamic/wp-coding-standards": "^2.2",
		"roots/wordpress": "^6.0",
		"szepeviktor/phpstan-wordpress": "^1.3",
		"vimeo/psalm": "*",
		"wp-phpunit/wp-phpunit": "^6.1",
		"yoast/phpunit-polyfills": "^1.0"
	},
	"scripts": {
		"ci": [
			"@phplint",
			"@phpcs",
			"@coverage",
			"@phpstan",
			"@psalm"
		],
		"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml --coverage-text",
		"coverage-clover": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml",
		"coverage-html": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html build/coverage-html",
		"coverage-text": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text",
		"coveralls": "vendor/bin/php-coveralls -v",
		"phpcbf":"XDEBUG_MODE=off vendor/bin/phpcbf",
		"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
		"phplint": "vendor/bin/phplint",
		"phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php",
		"phpstan": "vendor/bin/phpstan analyse --memory-limit=-1",
		"phpunit": "vendor/bin/phpunit",
		"post-autoload-dump": [
			"for file in languages/*.mo ; do ln -f -s ../../../../../../$file vendor/wp-phpunit/wp-phpunit/data/languages/plugins/. ; done",
			"for file in vendor/koodimonni-language/*/*.mo ; do ln -f -s ../../../../../$file vendor/wp-phpunit/wp-phpunit/data/languages/. ; done",
			"for file in vendor/koodimonni-plugin-language/*/*.mo ; do ln -f -s ../../../../../../$file vendor/wp-phpunit/wp-phpunit/data/languages/plugins/. ; done",
			"for file in vendor/koodimonni-theme-language/*/*.mo ; do ln -f -s ../../../../../../$file vendor/wp-phpunit/wp-phpunit/data/languages/themes/. ; done"
		],
		"psalm": "vendor/bin/psalm"
	}
}
