{
	"name": "pronamic/wp-gravityforms-nl",
	"description": "WordPress Gravity Forms (nl) library.",
	"license": "GPL-3.0-or-later",
	"type": "wordpress-plugin",
	"autoload": {
		"psr-4": {
			"Pronamic\\WordPress\\GravityFormsNL\\": "src"
		}
	},
	"config": {
		"platform-check": false,
		"sort-packages": true,
		"allow-plugins": {
			"koodimonni/composer-dropin-installer": true,
			"roots/wordpress-core-installer": true,
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"bamarni/composer-bin-plugin": true
		},
		"platform": {
			"php": "8.2"
		},
		"wp-slug": "gravityforms-nl"
	},
	"repositories": [
		{
			"type": "composer",
			"url": "https://wp-languages.github.io"
		}
	],
	"require": {
		"php": ">=8.0"
	},
	"require-dev": {
		"bamarni/composer-bin-plugin": "^1.8",
		"koodimonni-language/core-nl_nl": "*",
		"php-coveralls/php-coveralls": "^2.7",
		"phpmd/phpmd": "^2.15",
		"phpstan/phpstan": "^1.11",
		"pronamic/pronamic-cli": "^1.1",
		"pronamic/wp-coding-standards": "^2.2",
		"roots/wordpress": "^6.4",
		"szepeviktor/phpstan-wordpress": "^1.3",
		"vimeo/psalm": "^5.25",
		"wp-phpunit/wp-phpunit": "^6.4",
		"yoast/phpunit-polyfills": "^2.0"
	},
	"scripts": {
		"build": "vendor/bin/pronamic wp-build",
		"coveralls": "vendor/bin/php-coveralls -v",
		"phpcbf": "XDEBUG_MODE=off vendor/bin/phpcbf",
		"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
		"phplint": "find src -name '*.php' | xargs -n 1 -P 4 php -l",
		"phpmd": "vendor/bin/phpmd src text phpmd.ruleset.xml --suffixes php",
		"phpstan": "vendor/bin/phpstan analyse --memory-limit=-1",
		"phpunit": "vendor/bin/phpunit",
		"symlink": [
			"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"
		],
		"post-install-cmd": "echo 'Optionally run: composer bin all install'",
		"post-update-cmd": "echo 'Optionally run: composer bin all update'",
		"psalm": "vendor/bin/psalm",
		"translate": [
			"@build",
			"rsync --recursive --delete --verbose ./build/project/languages/ ./languages/"
		],
		"version": "@build",
		"release": [
			"@build",
			"vendor/bin/pronamic release-to-github",
			"vendor/bin/pronamic release-to-pronamic"
		]
	}
}
